[latex3-commits] [git/LaTeX3-latex3-latex3] main: More work (8423031fa)

Joseph Wright joseph.wright at morningstar2.co.uk
Tue Jun 7 10:54:15 CEST 2022


Repository : https://github.com/latex3/latex3
On branch  : main
Link       : https://github.com/latex3/latex3/commit/8423031fa941aa13c13c12a7db9f05b5e93196c5

>---------------------------------------------------------------

commit 8423031fa941aa13c13c12a7db9f05b5e93196c5
Author: Joseph Wright <joseph.wright at morningstar2.co.uk>
Date:   Tue Jun 7 09:54:15 2022 +0100

    More work


>---------------------------------------------------------------

8423031fa941aa13c13c12a7db9f05b5e93196c5
 l3packages/xtemplate/xtemplate.dtx | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/l3packages/xtemplate/xtemplate.dtx b/l3packages/xtemplate/xtemplate.dtx
index a1a99aaa7..3143cd81f 100644
--- a/l3packages/xtemplate/xtemplate.dtx
+++ b/l3packages/xtemplate/xtemplate.dtx
@@ -1403,8 +1403,11 @@
                   {
                     \tl_set:Nx \l_@@_keytype_tl
                       { \tl_trim_spaces:n {##1} }
-                    \tl_set:Nx \l_@@_keytype_arg_tl
-                      { \use:n ####2 }
+                    \tl_if_blank:nF {####2}
+                      {
+                        \tl_set:Nx \l_@@_keytype_arg_tl
+                          { \use:n ####2 }
+                      }
                     \seq_map_break:
                   }
               }





More information about the latex3-commits mailing list.