[latex3-commits] [git/LaTeX3-latex3-latex2e] template: More space work (586bbe3b)

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


Repository : https://github.com/latex3/latex2e
On branch  : template
Link       : https://github.com/latex3/latex2e/commit/586bbe3b8ca2babfc7b4f02a6e5887b47e2cc9cd

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

commit 586bbe3b8ca2babfc7b4f02a6e5887b47e2cc9cd
Author: Joseph Wright <joseph.wright at morningstar2.co.uk>
Date:   Tue Jun 7 09:54:29 2022 +0100

    More space work


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

586bbe3b8ca2babfc7b4f02a6e5887b47e2cc9cd
 base/lttemplate.dtx | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/base/lttemplate.dtx b/base/lttemplate.dtx
index 898415fe..d3e2f0af 100644
--- a/base/lttemplate.dtx
+++ b/base/lttemplate.dtx
@@ -720,7 +720,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.