[latex3-commits] [git/LaTeX3-latex3-latex2e] keyval-detect: Use \tl_trim_spaces_apply:nN as suggested (432d4c33)
Joseph Wright
joseph.wright at morningstar2.co.uk
Wed Aug 31 08:27:16 CEST 2022
Repository : https://github.com/latex3/latex2e
On branch : keyval-detect
Link : https://github.com/latex3/latex2e/commit/432d4c338583d2a41d62d4c616d974c1aee0da22
>---------------------------------------------------------------
commit 432d4c338583d2a41d62d4c616d974c1aee0da22
Author: Joseph Wright <joseph.wright at morningstar2.co.uk>
Date: Mon Aug 29 11:32:13 2022 +0200
Use \tl_trim_spaces_apply:nN as suggested
>---------------------------------------------------------------
432d4c338583d2a41d62d4c616d974c1aee0da22
base/ltcmd.dtx | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/base/ltcmd.dtx b/base/ltcmd.dtx
index 4c57c853..1776d11a 100644
--- a/base/ltcmd.dtx
+++ b/base/ltcmd.dtx
@@ -3988,8 +3988,8 @@
{ { \exp_not:o { \use:n #2 } } }
{ \tl_set:Nn \ProcessedArgument { #1 = #2 } }
{
- \exp_args:Ne \@@_arg_to_keyvalue_auxi:nnn
- { \tl_trim_spaces:n {#2} } {#1} {#2}
+ \tl_trim_spaces_apply:nN {#2} \@@_arg_to_keyvalue_auxi:nnn
+ {#1} {#2}
}
}
\cs_new_protected:Npn \@@_arg_to_keyvalue_auxi:nnn #1#2#3
@@ -4003,8 +4003,8 @@
{
\str_if_eq:nnTF {#3} { = }
{
- \exp_args:Ne \@@_arg_to_keyvalue_auxiii:nnn
- { \tl_trim_spaces:n {#4} } {#1} {#2}
+ \tl_trim_spaces_apply:nN {#4} \@@_arg_to_keyvalue_auxiii:nnn
+ {#1} {#2}
}
{ \@@_arg_to_keyvalue_auxv:nn {#1} {#2} }
}
More information about the latex3-commits
mailing list.