From the highlightjs.org/usage website:
If your code container relies on
tags instead of line breaks (i.e. if it’s not) set the useBR option to true: hljs.configure({useBR: true}); $('div.code').each(function(i, e) {hljs.highlightBlock(e)});
This is exactly what I need. Is there a way to activate it with you plugin?
Congratulations for the great work! ??
]]>#import <QuartzCore/QuartzCore.h>
когда ввожу без esc-последовательностей как есть – дальше import слова пропускаются
There is an extra newline at the end of wp-highlight.js.php, after the closing php tag, that gets sent before other headers.
Remove the extra newline and all is well.
]]>