diff options
| author | John MacFarlane <jgm@berkeley.edu> | 2023-11-22 23:24:55 -0500 |
|---|---|---|
| committer | John MacFarlane <jgm@berkeley.edu> | 2023-11-22 23:24:55 -0500 |
| commit | a2a0f73eb816917839eeffad9e487394ebd88443 (patch) | |
| tree | 33814c81d4596645ecd18fa254b5a31aabd059c6 /test/command | |
| parent | 49e64c1451b9933a025d059f7dae287788c7d1cc (diff) | |
LaTeX writer: handle identifiers inside heading contents.
`\phantomsection` can't be used in this case, so we need `\hypertarget`.
Closes #9209.
Diffstat (limited to 'test/command')
| -rw-r--r-- | test/command/9209.md | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/test/command/9209.md b/test/command/9209.md new file mode 100644 index 000000000..3cdac7f17 --- /dev/null +++ b/test/command/9209.md @@ -0,0 +1,6 @@ +``` +% pandoc -t latex +## [Section]{#Section3} +^D +\subsection{\texorpdfstring{\protect\hypertarget{Section3}{}{Section}}{Section}}\label{section} +``` |
