Wrap with double quote only if term has a comma.

This commit is contained in:
2017-02-10 19:03:34 +01:00
parent ccf1040513
commit dc84e79952

View File

@@ -318,7 +318,7 @@ feature -- Web forms
s.append_character (',') s.append_character (',')
s.append_character (' ') s.append_character (' ')
end end
if ic.item.text.has (' ') then if ic.item.text.has (',') then
s.append_character ('"') s.append_character ('"')
s.append (t.text) s.append (t.text)
s.append_character ('"') s.append_character ('"')