[latex3-commits] [git/LaTeX3-latex3-latex3] master: Strip spaces from both ends of all keypath parts (f4d0e33fe)

Joseph Wright joseph.wright at morningstar2.co.uk
Fri Jan 17 08:25:16 CET 2020


Repository : https://github.com/latex3/latex3
On branch  : master
Link       : https://github.com/latex3/latex3/commit/f4d0e33fe25e3736095926dbfe0178af49090fe4

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

commit f4d0e33fe25e3736095926dbfe0178af49090fe4
Author: Joseph Wright <joseph.wright at morningstar2.co.uk>
Date:   Fri Jan 17 07:25:16 2020 +0000

    Strip spaces from both ends of all keypath parts


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

f4d0e33fe25e3736095926dbfe0178af49090fe4
 l3kernel/CHANGELOG.md | 3 +++
 l3kernel/l3keys.dtx   | 2 +-
 2 files changed, 4 insertions(+), 1 deletion(-)

diff --git a/l3kernel/CHANGELOG.md b/l3kernel/CHANGELOG.md
index 00a7689a9..c45117f67 100644
--- a/l3kernel/CHANGELOG.md
+++ b/l3kernel/CHANGELOG.md
@@ -7,6 +7,9 @@ this project uses date-based 'snapshot' version identifiers.
 
 ## [Unreleased]
 
+### Fixed
+- Issue with keys where some leading spaces could be left in key names
+
 ## [2020-01-12]
 
 ### Added
diff --git a/l3kernel/l3keys.dtx b/l3kernel/l3keys.dtx
index 54167b15c..aefd3f954 100644
--- a/l3kernel/l3keys.dtx
+++ b/l3kernel/l3keys.dtx
@@ -2711,7 +2711,7 @@
 \cs_set:Npn \@@_trim_spaces_auxiii:w #1 /
   {
     \quark_if_recursion_tail_stop:n {#1}
-    \tl_trim_spaces:n { / #1 }
+    / \tl_trim_spaces:n { #1 }
     \@@_trim_spaces_auxiii:w
   }
 %    \end{macrocode}





More information about the latex3-commits mailing list