aboutsummaryrefslogtreecommitdiff
path: root/src/Text
diff options
context:
space:
mode:
Diffstat (limited to 'src/Text')
-rw-r--r--src/Text/Pandoc/Readers/LaTeX.hs4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/Text/Pandoc/Readers/LaTeX.hs b/src/Text/Pandoc/Readers/LaTeX.hs
index 6b96460e8..de2b8f913 100644
--- a/src/Text/Pandoc/Readers/LaTeX.hs
+++ b/src/Text/Pandoc/Readers/LaTeX.hs
@@ -1384,7 +1384,11 @@ inlineCommands = M.fromList $
<|> citation "citeauthor" AuthorInText False)
, ("nocite", mempty <$ (citation "nocite" NormalCitation False >>=
addMeta "nocite"))
+ -- hyperlink: for now, we just preserve contents.
+ -- we might add the actual links, but we need to avoid clashes
+ -- with ids produced by label.
, ("hypertarget", braced >> tok)
+ , ("hyperlink", braced >> tok)
-- glossaries package
, ("gls", doAcronym "short")
, ("Gls", doAcronym "short")