vijirams / alsing

Automatically exported from code.google.com/p/alsing
0 stars 0 forks source link

<script> and </script> in same line dont work #11

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
I'm german, my english is very bad.

So here is the bug.
To Reproduce the bug you must use the php highlighter. Then you mix html and 
javascript. Now if you have for example: "<script language="JavaScript" 
src="/homepage/toolbar.js"></script>" in the same line, all the text after this 
line would be in javascript, only if you seperate the open tag and the end tag 
in 2 two lines it works correctly. How I can fix this?

Original issue reported on code.google.com by henrykel...@googlemail.com on 13 Nov 2010 at 7:32

GoogleCodeExporter commented 9 years ago
I have found the problem. It's a problem with the regex. 
I've repleced it with another one, and now it works.

Original comment by henrykel...@googlemail.com on 13 Nov 2010 at 9:51