sandeeprsp / syntaxhighlighter

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

avoid double highlight, does not highlight invisible pre tag #99

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
For some reason, my code may call dp.SyntaxHighlighter.HighlightAll()
twice. Although I could do fix on my side, I strongly recommend your API do
some check to avoid highlight invisible pre tag( As I know, dpHighlighter
will make the pre part to invisible after highlight). This could easily
avoid double render for same piece code. 

Original issue reported on code.google.com by steve...@gmail.com on 30 Jul 2008 at 5:30