Commit 83cf0dd5 authored by Benito van der Zander's avatar Benito van der Zander

fix missing line break when printing empty sequence

parent 93f77607
a := 1
2
b := 5
c :=
d :=
e := 7
v := 18
a='1'
a[0]="$a"
a[1]='2'
b='5'
c=
d=''
e='7'
v='18'
<!DOCTYPE html>
<span class="a">1
2</span>
<span class="b">5</span>
<span class="c"></span>
<span class="d"></span>
<span class="e">7</span>
<span class="v">18</span>
<?xml version="1.0" encoding="UTF-8"?>
<a>1
2</a>
<b>5</b>
<c></c>
<d></d>
<e>7</e>
<v>18</v>
......@@ -2383,7 +2383,7 @@ begin
case value.getSequenceCount of
0: begin
if not printTypeAnnotations then begin
if invariable and (outputFormat in [ofBash, ofWindowsCmd]) then writeItem('');
if invariable {and (outputFormat in [ofBash, ofWindowsCmd]) }then writeItem('');
exit;
end;
if (outputFormat <> ofAdhoc) and not invariable then needRawWrapper;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment