aboutsummaryrefslogtreecommitdiff
path: root/test/command
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2021-11-24 19:38:43 -0800
committerJohn MacFarlane <jgm@berkeley.edu>2021-11-24 19:48:56 -0800
commit0d25232bbf2998cccf6ca4b1dc6e8d6f36eb9c60 (patch)
tree91c1220150d2c66f5d75a44d56707d9310db6c23 /test/command
parent2ca3993c6733d8add948338ef69d124237e21c69 (diff)
downloadpandoc-0d25232bbf2998cccf6ca4b1dc6e8d6f36eb9c60.tar.gz
LaTeX reader: Fix semantics of `\ref`.
We were including the ams environment type in addition to the number. This is proper behavior for `\cref` but not for `\ref`. To support `\cref` we need to store the environment label separately.
Diffstat (limited to 'test/command')
-rw-r--r--test/command/1608.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/command/1608.md b/test/command/1608.md
index 59bd54ab4..77fdaf6d3 100644
--- a/test/command/1608.md
+++ b/test/command/1608.md
@@ -133,7 +133,7 @@ These are all pretty interesting facts.
, ( "reference" , "def:tri" )
]
)
- [ Str "Definition\160\&1" ]
+ [ Str "1" ]
( "#def:tri" , "" )
, Space
, Str "since"