aboutsummaryrefslogtreecommitdiff
path: root/test/lhs-test.latex+lhs
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2017-03-01 21:38:28 +0100
committerJohn MacFarlane <jgm@berkeley.edu>2017-03-01 21:38:28 +0100
commitfe4311d5a1482ab2e0edfe78c556bf28fc50adf7 (patch)
tree2a4799398c8ef81f261df23405ad64849346dd1b /test/lhs-test.latex+lhs
parentd21c7fee66d6737ae1262cfea01633d041499da2 (diff)
downloadpandoc-fe4311d5a1482ab2e0edfe78c556bf28fc50adf7.tar.gz
LaTeX writer: always add hypertarget when there's a non-empty identifier.
Previously the hypertargets were only added when there was actually a link to that identifier. Closes #2719.
Diffstat (limited to 'test/lhs-test.latex+lhs')
-rw-r--r--test/lhs-test.latex+lhs3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/lhs-test.latex+lhs b/test/lhs-test.latex+lhs
index 64271b415..3509cb4a6 100644
--- a/test/lhs-test.latex+lhs
+++ b/test/lhs-test.latex+lhs
@@ -55,7 +55,8 @@
\begin{document}
-\section{lhs test}\label{lhs-test}
+\hypertarget{lhs-test}{%
+\section{lhs test}\label{lhs-test}}
\texttt{unsplit} is an arrow that takes a pair of values and combines them to
return a single value: