diff options
author | Hans Hagen <pragma@wxs.nl> | 2005-07-20 00:00:00 +0200 |
---|---|---|
committer | Hans Hagen <pragma@wxs.nl> | 2005-07-20 00:00:00 +0200 |
commit | e1e7a447633cde21cb8ef83878a8a2aac841d1ec (patch) | |
tree | 3fad67a494cf13189fb0c0ce467307d63feb77aa /tex/context/base/xtag-ini.tex | |
parent | c7f924443bf5e21f5cd9210fc76c633a3a77e20e (diff) | |
download | context-e1e7a447633cde21cb8ef83878a8a2aac841d1ec.tar.gz |
stable 2005.07.20
Diffstat (limited to 'tex/context/base/xtag-ini.tex')
-rw-r--r-- | tex/context/base/xtag-ini.tex | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/tex/context/base/xtag-ini.tex b/tex/context/base/xtag-ini.tex index 7ba173050..2bf010824 100644 --- a/tex/context/base/xtag-ini.tex +++ b/tex/context/base/xtag-ini.tex @@ -2511,7 +2511,11 @@ {{\enableXML\scantokens{#1}\unskip}} \long\def\XMLstr#1% test, does not work - {\begingroup\enableXML\scantokens{#1<endgroup/><gobblespacetokens/>}} + {\ifprocessingXML + \begingroup\enableXML\scantokens{#1<endgroup/><gobblespacetokens/>}% + \else + \begingroup\enableXML\scantokens{#1<endgroup/>\ignorespaces}% + \fi} \def\XMLgetvariable#1#2% hooks into generic \getvariable and setvariables {\expanded{\XMLstr{\getvariable{#1}{#2}}}} |