From 66f90f5ace150ea89b360d90788c6a3d63fa04f6 Mon Sep 17 00:00:00 2001
From: Norbert Preining <norbert@preining.info>
Date: Wed, 28 Oct 2020 03:02:51 +0000
Subject: CTAN sync 202010280302

---
 macros/latex/contrib/l3kernel/l3text-purify.dtx | 9 +++++++--
 1 file changed, 7 insertions(+), 2 deletions(-)

(limited to 'macros/latex/contrib/l3kernel/l3text-purify.dtx')

diff --git a/macros/latex/contrib/l3kernel/l3text-purify.dtx b/macros/latex/contrib/l3kernel/l3text-purify.dtx
index b2f0b59fab..1bc377ed02 100644
--- a/macros/latex/contrib/l3kernel/l3text-purify.dtx
+++ b/macros/latex/contrib/l3kernel/l3text-purify.dtx
@@ -43,7 +43,7 @@
 %    }^^A
 % }
 %
-% \date{Released 2020-10-05}
+% \date{Released 2020-10-27}
 %
 % \maketitle
 %
@@ -398,10 +398,15 @@
   { \text_declare_purify_equivalent:Nn #1 { } }
 %    \end{macrocode}
 % Environments have to be handled by pure expansion.
+%
+% \begin{macro}{\@@_end_env:n}
 %    \begin{macrocode}
 \text_declare_purify_equivalent:Nn \begin { \use:c }
-\text_declare_purify_equivalent:Nn \end { \use:c }
+\text_declare_purify_equivalent:Nn \end { \@@_end_env:n }
+\cs_new:Npn \@@_end_env:n #1 { \cs:w end #1 \cs_end: }
 %    \end{macrocode}
+% \end{macro}
+%
 % Some common symbols and similar ideas.
 %    \begin{macrocode}
 \text_declare_purify_equivalent:Nn \\ { }
-- 
cgit v1.2.3

