Max Nikulin <maniku...@gmail.com> writes: > This is a reminder of an old bug. From my point of view it is serious > enough, but not release critical due to its age. > > &<> characters must be escaped as HTML entities when LaTeX snippets and > blocks are exported for MathJax > > Form my year-old notes: > - =#+options: tex:verbatim= properly escapes symbols. > - There are functions that performs such replacement in ox-html and > ox-odt, but `org-format-latex` resides in org.el, so some refactoring > and backward compatibility stubs are necessary.
>From my understanding, all we need is to fix `org-format-latex' by calling `org-html-encode-plain-text'. Could you please elaborate about refactoring and backward compatibility? -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at <https://orgmode.org/>. Support Org development at <https://liberapay.com/org-mode>, or support my work at <https://liberapay.com/yantar92>