On 2014-06-30 06:54, Nicolas Goaziou wrote:
Hello,
Eric Schulte <schulte.e...@gmail.com> writes:
From the link above it sounds like replacing just "<", ">" and "&"
should be sufficient, if the full html encoding in my previous patch
was
too heavy weight.
By default, `org-html-encode-plain-text' just takes care about "<", ">"
and "&", which is what you're looking. However, it is configurable
through `org-html-protect-char-alist', which may cause trouble.
FWIW I think a hard-coded function dedicated to the task, or simply
a hard-coded replacement within `org-html-format-latex', may be safer
in
the long run. Anyway Rick Frankel may have an opinion here.
Not sure why `org-html-protect-char-alist' is a custom and not just a
var, but IMHO, `org-html-encode-plain-text' is the correct solution.
rick