diff --git a/hyperref-linktarget.dtx b/hyperref-linktarget.dtx index dd28dba..58ff089 100644 --- a/hyperref-linktarget.dtx +++ b/hyperref-linktarget.dtx @@ -488,7 +488,7 @@ % \begin{macrocode} \cs_new_protected:Npn \@@_target_manual:nn #1 #2 %#1 prefix, #2 name { - \tl_gset:Nx \@currentHref {#2} + \tl_gset:Ne \@currentHref {#2} \hook_use:n {__hyp/target/setname} \@onelevel@sanitize\@currentHref \@@_target_raise:n {\hyper@anchorstart{\@currentHref}\hyper@anchorend} @@ -520,7 +520,7 @@ \cs_new_protected:Npn \@@_target_counter_anon:n #1 { \int_gincr:N\Hy@linkcounter - \tl_gset:Nx \@currentHref + \tl_gset:Ne \@currentHref {\tl_if_blank:nTF{#1}{page}{#1}*.\int_use:N\Hy@linkcounter} \hook_use:n {__hyp/target/setname} \@onelevel@sanitize\@currentHref @@ -541,7 +541,7 @@ don't~exist.~No~target~created.}{} } { - \tl_gset:Nx \@currentHref {\tl_if_blank:nTF{#1}{#2}{#1}.\use:c{theH#2}} + \tl_gset:Ne \@currentHref {\tl_if_blank:nTF{#1}{#2}{#1}.\use:c{theH#2}} \hook_use:n {@@/target/setname} \@onelevel@sanitize\@currentHref \@@_target_raise:n {\hyper@anchorstart{\@currentHref}\hyper@anchorend} @@ -557,7 +557,7 @@ { \hook_gput_next_code:nn {@@/target/setname} { - \tl_gset:Nx \@currentHref {#1} + \tl_gset:Ne \@currentHref {#1} } }