From 6f6ad0514d7c5ec6f7177beecb4f2d5ef80100ae Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Mon, 15 Oct 2018 11:46:31 -0700 Subject: LaTeX reader: make macroDef polymorphic and allow in inline context. Otherwise we can't parse something like ``` \lowercase{\def\x{Foo}} ``` I have actually seen tex like this in the wild. --- test/command/ifstrequal.md | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'test/command') diff --git a/test/command/ifstrequal.md b/test/command/ifstrequal.md index 4ad04d2e1..24ed7ef54 100644 --- a/test/command/ifstrequal.md +++ b/test/command/ifstrequal.md @@ -5,6 +5,5 @@ \h{a} \h{b} ^D -[Para [Emph [Str "no"]] -,Para [Str "\225",SoftBreak,Str "b"]] +[Para [Emph [Str "no"],SoftBreak,Str "\225",SoftBreak,Str "b"]] ``` -- cgit v1.2.3