Produce valid XML in the case where a simple tag with no text is produced
(most apparent when including URLs without descriptions)
This commit is contained in:
parent
5dafec0da8
commit
2c29633dfe
Notes:
svn2git
2020-12-08 03:00:23 +00:00
svn path=/head/; revision=41531
1 changed files with 1 additions and 1 deletions
|
|
@ -28,7 +28,7 @@ sub xml
|
|||
if (!@Text)
|
||||
{
|
||||
# No text in the tag
|
||||
return ("$Spaces<$TagEtc >\n");
|
||||
return ("$Spaces<$TagEtc />\n");
|
||||
}
|
||||
elsif (@Text == 1)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue