Open GoogleCodeExporter opened 8 years ago
I made a mistake in my post above.
The extra code that gets added before each pre tag looks like this:
<div class="dp-highlighter">
<div class="bar">
<div class="tools"> </div>
</div>
Original comment by mng...@gmail.com
on 15 Apr 2008 at 5:21
One solution to this problem is to use removeChild() instead of display:none.
To resolve it, add the following line in shCore.js (after the line #703):
element.parentNode.insertBefore(highlighter.div, element);
element.parentNode.removeChild(element);
Using this method one can eliminate the problem of duplicated codes when CSS if
off.
best regards,
gajdaw
Original comment by wlodzimi...@gmail.com
on 2 Jul 2008 at 8:20
Original issue reported on code.google.com by
mng...@gmail.com
on 15 Apr 2008 at 5:16