diff options
author | John MacFarlane <jgm@berkeley.edu> | 2019-11-07 23:08:05 -0800 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2019-11-07 23:08:05 -0800 |
commit | 3bf53628984a91d9456d40b1202e9d15f1ad3088 (patch) | |
tree | a4a829aa509bcc8b25afbbe8117a82944dc60304 /test | |
parent | b44a4c803ef16fe13fcc886dc5da93999beb169e (diff) | |
download | pandoc-3bf53628984a91d9456d40b1202e9d15f1ad3088.tar.gz |
DocBook reader: Fix bug with entities in mathphrase element.
Closes #5885.
Diffstat (limited to 'test')
-rw-r--r-- | test/command/5885.md | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/test/command/5885.md b/test/command/5885.md new file mode 100644 index 000000000..451929b5b --- /dev/null +++ b/test/command/5885.md @@ -0,0 +1,20 @@ +``` +% pandoc -f docbook -t latex +<equation> + <mathphrase> + J(x, y) = \left\{ \begin{array}{ll} + 0 & \text{if $I(x, y) < t$} \\ + 1 & \text{if $I(x, y) \ge t$} + \end{array} + \right. + </mathphrase> +</equation> +^D +\[ + J(x, y) = \left\{ \begin{array}{ll} + 0 & \text{if $I(x, y) < t$} \\ + 1 & \text{if $I(x, y) \ge t$} + \end{array} + \right. + \] +``` |