Skip to content

Commit

Permalink
make \hyperref protected in nohyperref
Browse files Browse the repository at this point in the history
  • Loading branch information
u-fischer committed Dec 20, 2023
1 parent 898fa6c commit b526e85
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hyperref.dtx
Original file line number Diff line number Diff line change
Expand Up @@ -9508,7 +9508,7 @@
\let\hyperdef\@gobbletwo
\let\hyperlink\@gobble
\let\hypertarget\@gobble
\def\hyperref{%
\protected\def\hyperref{%
\@ifnextchar[\@gobbleopt{\expandafter\@gobbletwo\@gobble}%
}
\long\def\@gobbleopt[#1]{}
Expand Down

0 comments on commit b526e85

Please sign in to comment.