Issue 1036: Bad "pretty"-printing of JS code in View-Source
http://code.google.com/p/chromium/issues/detail?id=1036

Comment #6 by andy.st:
Also observed in Chrome build 1798.

Actual JavaScript:
<script type="text/javascript">
//<![CDATA[

   var scopeWidgetData = {"foo":"bar", [some long string of nested objects] ,
"label":"//foo/"};

//]]>
</script>


<script type="text/javascript">
//<![CDATA[

   var scopeWidgetData = {"foo":"bar", [some long string of nested objects],
"label":"/"foo//};/"]]

//>
</script>

The relevant part is how:

"label":"//foo/"};

//]]>

is somehow transformed into:

"label":"/"foo//};/"]]

//>

by the source viewer of Chrome.

It doesn't seem to be a WebKit issue. It looks fine in Safari's source  
viewer.



-- 
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Chromium-bugs" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/chromium-bugs?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to