Package: xmlindent
Version: 0.2.17-3
Severity: important
$ echo "<li><strong><em>a glass of water</em></strong></li>" | xmlindent
<li>
<strong>
<em>aglass of water</em>
</strong>
</li>
The result should be: "a glass", not "aglass".
Some tests to get an idea of the situations in which the issue arises:
$ echo "<test>a b c</test>" | xmlindent
<test>a b c</test>
OK
$ echo "<test><test2>a b c</test2></test>" | xmlindent
<test>
<test2>ab c</test2>
</test>
WRONG
$ echo "<test><test2>ab c</test2></test>" |
xmlindent
<test>
<test2>ab c</test2>
</test>
OK
$ echo "<test><test2>a bc</test2></test>" |
xmlindent
<test>
<test2>abc</test2>
</test>
WRONG
-- System Information:
Debian Release: stretch/sid
APT prefers testing-updates
APT policy: (500, 'testing-updates'), (500, 'testing')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 4.0.0-2-amd64 (SMP w/4 CPU cores)
Locale: LANG=es_ES.UTF-8, LC_CTYPE=es_ES.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
Versions of packages xmlindent depends on:
ii libc6 2.19-19
xmlindent recommends no packages.
xmlindent suggests no packages.
-- no debconf information
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]