diff options
Diffstat (limited to 'Master/texmf-dist/tex/latex/l3experimental/l3str/l3str-url.def')
-rw-r--r-- | Master/texmf-dist/tex/latex/l3experimental/l3str/l3str-url.def | 15 |
1 files changed, 9 insertions, 6 deletions
diff --git a/Master/texmf-dist/tex/latex/l3experimental/l3str/l3str-url.def b/Master/texmf-dist/tex/latex/l3experimental/l3str/l3str-url.def index bf6bf96514d..13cbde871fe 100644 --- a/Master/texmf-dist/tex/latex/l3experimental/l3str/l3str-url.def +++ b/Master/texmf-dist/tex/latex/l3experimental/l3str/l3str-url.def @@ -49,12 +49,15 @@ { \cs_new_protected_nopar:Npn #2 { - \tl_gset:Nx \g_str_result_tl - { - \exp_after:wN #3 \g_str_result_tl - #1 ? { ? \prg_map_break: } - \prg_break_point:n { } - } + \group_begin: + \int_set:Nn \tex_escapechar:D { 92 } + \tl_gset:Nx \g_str_result_tl + { + \exp_after:wN #3 \g_str_result_tl + #1 ? { ? \prg_map_break: } + \prg_break_point:n { } + } + \group_end: } \cs_new_nopar:Npn #3 ##1#1##2##3 { |