Some rendered syntax is not matched with the editor

Hi,

highlighting syntax seems not correctly parsed on editing mode.
in editor it is highlighted but not after rendered.

thank you!

add:

  • empty highlighting is highlighted on editor but not highlighted after rendering
  • empty inline math is not highlighted on editor but correctly converted after rendering