summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/lwarp/lwarp-breakurl.sty
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/latex/lwarp/lwarp-breakurl.sty')
-rw-r--r--Master/texmf-dist/tex/latex/lwarp/lwarp-breakurl.sty18
1 files changed, 7 insertions, 11 deletions
diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-breakurl.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-breakurl.sty
index 80eac667c92..e0cdac6d6ae 100644
--- a/Master/texmf-dist/tex/latex/lwarp/lwarp-breakurl.sty
+++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-breakurl.sty
@@ -19,20 +19,16 @@
\LetLtxMacro\burl\url
\NewDocumentCommand{\LWR@burlaltb}{O{} +m m}{%
-\LWR@ensuredoingapar%
-\LWR@subhyperref{#2}%
-\LWR@subhyperreftext{#3}%
-\endgroup% restore catcodes
+ \LWR@ensuredoingapar%
+ \LWR@subhyperref{#2}%
+ \LWR@subhyperreftext{#3}%
+ \endgroup% restore catcodes
}
\newrobustcmd*{\burlalt}{%
-\begingroup%
-\catcode`\#=12%
-\catcode`\%=12%
-\catcode`\&=12%
-\catcode`\~=12%
-\catcode`\_=12%
-\LWR@burlaltb%
+ \begingroup%
+ \LWR@linkcatcodes%
+ \LWR@burlaltb%
}
\LetLtxMacro\urlalt\burlalt