What steps will reproduce the problem?
1. Set the application content type to "application/xhtml+xml"
2. Load a page with MvcMiniProfiler.MiniProfiler.RenderIncludes()
3. On a modern browser, the XHTML parsing will fail
What is the expected output? What do you see instead?
Expecting to see the page load and parse. Instead the parsing fails due to
illegal characters (& being one of them) in the injected <script /> tag
What version of the product are you using? On what operating system?
Version 1.7.0.0 on Windows 7 with Chrome 14
Please provide any additional information below.
There may be additional illegal characters besides the one mentioned above and
this can be easily fixed by wrapping the inside of the <script /> tag with a
<![CDATA[ ... ]> section.
Original issue reported on code.google.com by dj_ky...@hotmail.com on 17 Aug 2011 at 7:51
Original issue reported on code.google.com by
dj_ky...@hotmail.com
on 17 Aug 2011 at 7:51