diff options
| author | John MacFarlane <jgm@berkeley.edu> | 2022-03-09 17:40:15 -0800 |
|---|---|---|
| committer | John MacFarlane <jgm@berkeley.edu> | 2022-03-09 17:53:00 -0800 |
| commit | 581c94913fa055fa0d925db893991f01647b37f6 (patch) | |
| tree | 840ff6370cb5ea2791f968fe59fe1c674f6bf86d /test/command | |
| parent | 82d9f5eb8ba60bca5760ac84357ed056c0cf4853 (diff) | |
LaTeX reader: allow inline groups starting with `\bgroup`.
Closes #7953.
Diffstat (limited to 'test/command')
| -rw-r--r-- | test/command/7953.md | 11 | ||||
| -rw-r--r-- | test/command/tex-group.md | 2 |
2 files changed, 12 insertions, 1 deletions
diff --git a/test/command/7953.md b/test/command/7953.md new file mode 100644 index 000000000..118aea2b6 --- /dev/null +++ b/test/command/7953.md @@ -0,0 +1,11 @@ +``` +% pandoc -f latex -t native +{foo\bgroup bar\egroup } +^D +[ Para + [ Span + ( "" , [] , [] ) + [ Str "foo" , Span ( "" , [] , [] ) [ Str "bar" ] ] + ] +] +``` diff --git a/test/command/tex-group.md b/test/command/tex-group.md index 277b32142..cc0ed219b 100644 --- a/test/command/tex-group.md +++ b/test/command/tex-group.md @@ -8,5 +8,5 @@ hi \end{foo} ^D -<p><em>hi</em></p> +<p><span> <em>hi</em> </span></p> ``` |
