summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/lwarp/lwarp-hyperref.sty
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/latex/lwarp/lwarp-hyperref.sty')
-rw-r--r--Master/texmf-dist/tex/latex/lwarp/lwarp-hyperref.sty10
1 files changed, 7 insertions, 3 deletions
diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-hyperref.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-hyperref.sty
index 814bd27c60e..8c6b91c105b 100644
--- a/Master/texmf-dist/tex/latex/lwarp/lwarp-hyperref.sty
+++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-hyperref.sty
@@ -280,7 +280,11 @@ do not attempt to patch lwarp's version of `hyperref'.)\MessageBreak}
\LWR@ensuredoingapar%
\def\LWR@templink{#1}%
\@onelevel@sanitize\LWR@templink%
- \LWR@htmltag{img src="\LWR@templink" alt="#2" class="hyperimage"}%
+ \LWR@htmltag{%
+ img src=\textquotedbl\LWR@templink\textquotedbl\ %
+ alt=\textquotedbl#2\textquotedbl\ %
+ class=\textquotedbl{}hyperimage\textquotedbl%
+ }%
\LWR@ensuredoingapar%
\endgroup%
}
@@ -314,10 +318,10 @@ do not attempt to patch lwarp's version of `hyperref'.)\MessageBreak}
\newcommand*{\LWR@hyperrefbb}[3]{%
\LWR@htmltag{%
- a href="%
+ a href=\textquotedbl%
\detokenize\expandafter{#1}\LWR@hashmark%
\detokenize\expandafter{#2}.\detokenize\expandafter{#3}%
- "%
+ \textquotedbl%
\LWR@addlinktitle%
}%
\endgroup%