diff options
author | John MacFarlane <jgm@berkeley.edu> | 2017-03-01 21:38:28 +0100 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2017-03-01 21:38:28 +0100 |
commit | fe4311d5a1482ab2e0edfe78c556bf28fc50adf7 (patch) | |
tree | 2a4799398c8ef81f261df23405ad64849346dd1b /test/lhs-test.latex | |
parent | d21c7fee66d6737ae1262cfea01633d041499da2 (diff) | |
download | pandoc-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')
-rw-r--r-- | test/lhs-test.latex | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/test/lhs-test.latex b/test/lhs-test.latex index bc02b6ae5..3ca8f97c8 100644 --- a/test/lhs-test.latex +++ b/test/lhs-test.latex @@ -91,7 +91,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: |