[latex3-commits] [latex3/latex2e] main: fix space stripping of global options (#1238) (c982a85a)

github at latex-project.org github at latex-project.org
Sun Jan 14 20:47:14 CET 2024


Repository : https://github.com/latex3/latex2e
On branch  : main
Link       : https://github.com/latex3/latex2e/commit/c982a85aa34f488a682daad8c0733f8113d36e8e

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

commit c982a85aa34f488a682daad8c0733f8113d36e8e
Author: Jonathan Spratte <jspratte at yahoo.de>
Date:   Fri Jan 12 23:54:56 2024 +0100

    fix space stripping of global options (#1238)


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

c982a85aa34f488a682daad8c0733f8113d36e8e
 base/ltkeys.dtx | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/base/ltkeys.dtx b/base/ltkeys.dtx
index 80c36d5c..1f105dd5 100644
--- a/base/ltkeys.dtx
+++ b/base/ltkeys.dtx
@@ -318,7 +318,7 @@
             \clist_map_inline:cn { @raw at opt@ \@currname . \@currext }
               {
                 \exp_args:Ne \@@_options_class:nnn
-                  { \@@_remove_equals:n {##1} }
+                  { \tl_trim_spaces:e { \@@_remove_equals:n {##1} } }
                   {##1} {#1}
               }
           }
@@ -356,7 +356,7 @@
     \clist_map_inline:Nn \@raw at classoptionslist
       {
         \exp_args:Ne \@@_options_package:nnn
-          { \@@_remove_equals:n {##1} }
+          { \tl_trim_spaces:e { \@@_remove_equals:n {##1} } }
           {##1} {#1}
       }
   }





More information about the latex3-commits mailing list.