Quantcast
Channel: C1 CMS Foundation - Open Source on .NET
Viewing all articles
Browse latest Browse all 2540

New Post: SyntaxHighlighter Bug

$
0
0
I'm seeing a bug in SyntaxHighlighter.

If I embed source code into the function then it works, but as one performs successive ordinary text edits to the page and republishes, then eventually the displayed source code collapses to just a single long line.

Also adjusting the CSS theme argument for the first instance of a SyntaxHighlighter on a page seems to impact all others that are present further down the page.

When these occur stopping/starting the server does not resolve it.

The only way to fix this is to delete and recreate the function in the page editor or instead configure it to get its source from a file, this is OK but for small snippets its a major hassle.

Hugh

Viewing all articles
Browse latest Browse all 2540

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>