emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] html-encode in mathjax latex fragments


From: Nicolas Goaziou
Subject: Re: [O] html-encode in mathjax latex fragments
Date: Mon, 30 Jun 2014 12:54:54 +0200

Hello,

Eric Schulte <address@hidden> 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.


Regards,

-- 
Nicolas Goaziou



reply via email to

[Prev in Thread] Current Thread [Next in Thread]