itdiy / google-code-prettify

Automatically exported from code.google.com/p/google-code-prettify
Apache License 2.0
0 stars 0 forks source link

VB plugin cause "unexpected token illegal" error on chrome #210

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Add the VB plugin. 
2. Reload the page

What is the expected output?  What do you see instead?

It should prettify the code. Instead if causes an "Unexpected token illegal" 
error.

What version are you using?  On what browser?

Using 1-jun-2011 version on google chrome.

Please provide any additional information below.

This is most probably an encoding problem, because removing ¨â from "\t\n\r 
Â\xa0

" in the plugin source solves the problem. But removing one 
of the 2 characters won't.

Original issue reported on code.google.com by info.ksa...@gmail.com on 28 Apr 2012 at 12:57

GoogleCodeExporter commented 9 years ago
I downloaded the none-minified version and minified it myself to fix this.

Original comment by mar...@h2ecommerce.com on 18 May 2012 at 10:22

GoogleCodeExporter commented 9 years ago
In IE 10 this causes an "Unterminated string constant" error.

Original comment by erno.de....@gmail.com on 8 Oct 2012 at 5:51