From: Nicolas Goaziou <mail@nicolasgoaziou.fr>
To: Eric Schulte <schulte.eric@gmail.com>
Cc: Nick Dokos <ndokos@gmail.com>, emacs-orgmode@gnu.org
Subject: Re: html-encode in mathjax latex fragments
Date: Mon, 30 Jun 2014 12:54:54 +0200 [thread overview]
Message-ID: <87zjgumzup.fsf@nicolasgoaziou.fr> (raw)
In-Reply-To: <87wqbyfzr5.fsf@gmail.com> (Eric Schulte's message of "Mon, 30 Jun 2014 05:47:56 -0400")
Hello,
Eric Schulte <schulte.eric@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.
Regards,
--
Nicolas Goaziou
next prev parent reply other threads:[~2014-06-30 10:54 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-06-29 18:41 html-encode in mathjax latex fragments Eric Schulte
2014-06-29 19:46 ` Nicolas Goaziou
2014-06-30 3:12 ` Nick Dokos
2014-06-30 9:47 ` Eric Schulte
2014-06-30 10:54 ` Nicolas Goaziou [this message]
2014-07-01 14:08 ` Rick Frankel
2014-07-27 17:56 ` Bastien
2014-06-30 10:55 ` Nicolas Goaziou
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87zjgumzup.fsf@nicolasgoaziou.fr \
--to=mail@nicolasgoaziou.fr \
--cc=emacs-orgmode@gnu.org \
--cc=ndokos@gmail.com \
--cc=schulte.eric@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.