tylerlong / google-code-prettify

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

JS Error #43

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Error: unterminated regular expression literal
Source File: http://xxx.com/prettify.js
Line: 2, Column: 207
Source Code:
1]="kwd"}else 
if(/^@?[A-Z][A-Z$]*[a-z][A-Za-z$]*$/.test(l)){f[h+1]=l.charAt(0)=="@"?
"lit":"typ"}}}q(f,a,b,2);b+=f.length-2}}return a}var 
D=r([],[["pln",/^[^<]+/,null],["dec",/^<!\w[^>]*(?
:>|$)/,null],["com",/^<!--[ 

Happens when I upload the latest version (small as well as normal) to my 
webspace.

Original issue reported on code.google.com by dlinsin on 26 Jun 2008 at 10:56

GoogleCodeExporter commented 9 years ago
Which browser are you using?

Does it occur with the latest release,
http://google-code-prettify.googlecode.com/files/prettify-small-4-Jul-2008.zip ?

Are you trying to embed this in an HTML page or is the script loaded via a 
<script
src=...> tag?

Original comment by mikesamuel@gmail.com on 5 Jul 2008 at 10:00

GoogleCodeExporter commented 9 years ago
No it doesn't happen anymore, thx!

Original comment by dlinsin on 6 Jul 2008 at 6:37

GoogleCodeExporter commented 9 years ago

Original comment by mikesamuel@gmail.com on 7 Jul 2008 at 5:42