[latex3-commits] [git/LaTeX3-latex3-latex2e] template: Fix space stripping from key types (10a22640)
Joseph Wright
joseph.wright at morningstar2.co.uk
Mon Jun 6 19:43:28 CEST 2022
Repository : https://github.com/latex3/latex2e
On branch : template
Link : https://github.com/latex3/latex2e/commit/10a22640347f739b83ee118b0f6074416fc1bb16
>---------------------------------------------------------------
commit 10a22640347f739b83ee118b0f6074416fc1bb16
Author: Joseph Wright <joseph.wright at morningstar2.co.uk>
Date: Mon Jun 6 18:43:28 2022 +0100
Fix space stripping from key types
>---------------------------------------------------------------
10a22640347f739b83ee118b0f6074416fc1bb16
base/lttemplate.dtx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/base/lttemplate.dtx b/base/lttemplate.dtx
index d55e173a..2850eec1 100644
--- a/base/lttemplate.dtx
+++ b/base/lttemplate.dtx
@@ -707,7 +707,7 @@
% \begin{macrocode}
\cs_new_protected:Npn \@@_split_keytype_arg:n #1
{
- \tl_set:Nn \l_@@_keytype_tl {#1}
+ \tl_set:Nx \l_@@_keytype_tl { \tl_trim_spaces:n {#1} }
\tl_clear:N \l_@@_keytype_arg_tl
\cs_set_protected:Npn \@@_split_keytype_arg_aux:n ##1
{
More information about the latex3-commits
mailing list.