From 8714493822824f6786e985f22c80e83736117f55 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Georges=20Dup=C3=A9ron?= Date: Tue, 11 Jul 2017 01:37:19 +0200 Subject: [PATCH] Revert "Preprocess some unicode characters in MathJax (see #7)" This reverts commit e45cbe5c74f769ccd8c868d8ec69ba95e78219b5. --- dollar.rkt | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/dollar.rkt b/dollar.rkt index 4f769b2dd..52fb12e0e 100644 --- a/dollar.rkt +++ b/dollar.rkt @@ -287,14 +287,12 @@ EOTEX (list (tex-addition tex-commands) 'exact-chars))) -;; TODO: handle delayed elements here instead of just flattening. (define ($-mathjax strs) - (elem #:style math-inline-style-mathjax - (map katex-convert-unicode (flatten strs)))) + (elem #:style math-inline-style-mathjax strs)) (define ($-katex strs) (elem #:style math-inline-style-katex - (map katex-convert-unicode (flatten strs)))) + (map katex-convert-unicode (flatten strs)))) (define ($$-mathjax strs) (elem #:style math-display-style-mathjax strs))