The conversion of spaces to the unicode HTML entity counterpart is technically correct but its usability for front-end developers will be horrendous. For example, the class attribute needs to be readable by CSS developers/desigers so that they can know to
stylize the .text-box and the .single-line classes together or seperately.
stimpy77
Member
18 Points
18 Posts
ASP.NET MVC 4: Noisy HTML output where spaces replaced with HTML encodings
Jun 16, 2012 06:28 AM|LINK
It seems in the actual RC there is a ton of "encoding noise" in the HTML output. Where output is expected to look like this:
.. it instead looks like this:
The conversion of spaces to the unicode HTML entity counterpart is technically correct but its usability for front-end developers will be horrendous. For example, the class attribute needs to be readable by CSS developers/desigers so that they can know to stylize the .text-box and the .single-line classes together or seperately.
Any word on this?
stimpy77
Member
18 Points
18 Posts
Re: ASP.NET MVC 4: Noisy HTML output where spaces replaced with HTML encodings
Jun 16, 2012 08:54 PM|LINK
I posted this as a bug.
http://aspnetwebstack.codeplex.com/workitem/244
levib
Star
7702 Points
1099 Posts
Microsoft
Re: ASP.NET MVC 4: Noisy HTML output where spaces replaced with HTML encodings
Jun 18, 2012 07:19 PM|LINK
Thanks for posting it on the Codeplex site. The product team is taking a look at this and will keep that bug updated.