highlight.js semi-broken in recent versions of reveal.js
After updating to recent vrsions of oer-re-reveal and reveal.js, I find that code highlighting with highlight.js no longer works as expected. Each line of code now begins and ends with <code>....</code>
. From what I can tell, those tags have been produced by org-html-format-code
for a long time, and it worked fine. But reveal.js has also recently updated its version of highlight.js.
I can fix the issue for myself by deleting all the internal <code>
tags. I'm not sure whether it would be OK to simply od a replace-regex-in-string on the variable code
in org-re-reveal-src-block
, or if it that might break other versions of reveal. What do you think? Also, are you able to reproduce this behaviour with reveal.js git or anyway at least 3.8.0?