livebs / syntaxhighlighter

Automatically exported from code.google.com/p/syntaxhighlighter
GNU General Public License v3.0
0 stars 0 forks source link

> is incorrectly copied to clipboard #8

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
<pre name="code" class="vb">
Return (result > 0)
</pre>

What is the expected output?
Return (result > 0)

What do you see instead?
Return (result &gt; 0)

What version of the product are you using? 
Version 1.5

On what operating system?
Windows 2003 Server - IE7 & FF2

Original issue reported on code.google.com by offtopi...@gmail.com on 28 May 2007 at 9:56

GoogleCodeExporter commented 8 years ago

Original comment by alex.gor...@gmail.com on 28 Jun 2007 at 10:54

GoogleCodeExporter commented 8 years ago
I inserted this at line 74 in the uncompressed Core as a workaround for the 
three
most common HTML entity issues:

code = code.replace(/</g,'<');
code = code.replace(/>/g,'>');
code = code.replace(/&/g,'&');

Still not widely tested and so simple I probably missed something obvious.

Original comment by johnleff...@gmail.com on 2 Aug 2007 at 11:13

GoogleCodeExporter commented 8 years ago

Original comment by alex.gor...@gmail.com on 5 Aug 2007 at 1:09

GoogleCodeExporter commented 8 years ago

Original comment by alex.gor...@gmail.com on 5 Aug 2007 at 2:52

GoogleCodeExporter commented 8 years ago

Original comment by alex.gor...@gmail.com on 5 Aug 2007 at 2:55