[latex3-commits] [git/LaTeX3-latex3-latex2e] develop: Use \tl_trim_spaces_apply:nN as suggested (c136f2bf)
Joseph Wright
joseph.wright at morningstar2.co.uk
Thu Sep 1 22:17:07 CEST 2022
Repository : https://github.com/latex3/latex2e
On branch : develop
Link : https://github.com/latex3/latex2e/commit/c136f2bf9495669be238d7dd8bbbb1872414709f
>---------------------------------------------------------------
commit c136f2bf9495669be238d7dd8bbbb1872414709f
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
>---------------------------------------------------------------
c136f2bf9495669be238d7dd8bbbb1872414709f
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.