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
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