From 0ba7f884a6a123c6e85781421c3b17ce11557203 Mon Sep 17 00:00:00 2001
From: Karl Berry <karl@freefriends.org>
Date: Thu, 22 Jul 2021 20:40:24 +0000
Subject: siunitx (22jul21)

git-svn-id: svn://tug.org/texlive/trunk@60017 c570f23f-e606-0410-a88d-b1316a301751
---
 Master/texmf-dist/source/latex/siunitx/siunitx-number.dtx | 4 ++++
 1 file changed, 4 insertions(+)

(limited to 'Master/texmf-dist/source/latex/siunitx/siunitx-number.dtx')

diff --git a/Master/texmf-dist/source/latex/siunitx/siunitx-number.dtx b/Master/texmf-dist/source/latex/siunitx/siunitx-number.dtx
index 59a6dd8129c..61ca7af1032 100644
--- a/Master/texmf-dist/source/latex/siunitx/siunitx-number.dtx
+++ b/Master/texmf-dist/source/latex/siunitx/siunitx-number.dtx
@@ -514,6 +514,7 @@
 \cs_generate_variant:Nn \tl_if_blank:nTF { f }
 \cs_generate_variant:Nn \tl_if_blank_p:n { f }
 \cs_generate_variant:Nn \tl_if_in:NnTF { NV }
+\cs_generate_variant:Nn \tl_remove_all:Nn { NV }
 \cs_generate_variant:Nn \tl_replace_all:Nnn { NnV }
 %    \end{macrocode}
 %
@@ -814,6 +815,9 @@
         }
       \tl_set_eq:NN \l_@@_input_tl \l_@@_arg_tl
       \siunitx_number_normalize_symbols:N \l_@@_arg_tl
+      \protected@edef \l_@@_input_ignore_tl { \l_@@_input_ignore_tl }
+      \tl_if_empty:NF \l_@@_input_ignore_tl
+        { \tl_remove_all:NV \l_@@_arg_tl \l_@@_input_ignore_tl }
       \tl_if_empty:NF \l_@@_arg_tl
         { \@@_parse_comparator: }
       \@@_parse_check:
-- 
cgit v1.2.3

