From: Ihor Radchenko <yantar92@posteo.net>
To: Max Nikulin <manikulin@gmail.com>
Cc: emacs-orgmode@gnu.org
Subject: [BUG] Escaping "<" and ">" inside math blocks when exporting to HTML/MathJax (was: Inequalities in math blocks)
Date: Sun, 06 Nov 2022 03:05:54 +0000 [thread overview]
Message-ID: <875yfsu6i5.fsf@localhost> (raw)
In-Reply-To: <tk5n4j$140s$1@ciao.gmane.io>
Max Nikulin <manikulin@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>
next prev parent reply other threads:[~2022-11-06 3:06 UTC|newest]
Thread overview: 32+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-10-03 11:04 Inequalities in math blocks Rudolf Adamkovič
2021-10-03 12:19 ` Max Nikulin
2021-10-03 13:12 ` Timothy
2021-10-05 7:55 ` Rudolf Adamkovič
2021-10-05 7:58 ` Timothy
2021-10-05 12:19 ` Eric S Fraga
2021-10-05 12:00 ` Max Nikulin
2021-10-05 12:50 ` Rudolf Adamkovič
2021-10-03 13:14 ` Rudolf Adamkovič
2021-10-12 1:11 ` Nick Dokos
2021-10-12 12:02 ` Max Nikulin
2021-10-03 16:17 ` [PATCH] org-manual.org: Update links to MathJax docs Max Nikulin
2022-08-21 5:53 ` Ihor Radchenko
2022-08-21 6:20 ` Max Nikulin
2022-08-22 2:39 ` Ihor Radchenko
2022-08-22 14:52 ` Max Nikulin
2022-08-23 2:32 ` Update Woof! version at updates.orgmode.org? (was: [PATCH] org-manual.org: Update links to MathJax docs) Ihor Radchenko
2022-08-23 15:02 ` Update Woof! version at updates.orgmode.org? Max Nikulin
2022-09-01 9:07 ` Bastien
2022-09-01 9:02 ` Bastien
2021-10-06 7:39 ` Inequalities in math blocks Rudolf Adamkovič
2021-10-07 11:30 ` Greg Minshall
2021-10-07 11:33 ` Timothy
2021-10-07 12:13 ` Greg Minshall
2021-10-07 12:53 ` Rudolf Adamkovič
2021-10-07 13:05 ` Timothy
2021-10-07 15:05 ` Max Nikulin
2021-10-07 19:48 ` Rudolf Adamkovič
2022-11-05 13:06 ` Max Nikulin
2022-11-06 3:05 ` Ihor Radchenko [this message]
2021-10-07 19:25 ` Rudolf Adamkovič
2021-10-08 12:37 ` Greg Minshall
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
List information: https://www.orgmode.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=875yfsu6i5.fsf@localhost \
--to=yantar92@posteo.net \
--cc=emacs-orgmode@gnu.org \
--cc=manikulin@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 public inbox
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).