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))