logilab-mtconverter #37276 [text2html] better line handling [resolved]

as of now,:

a
b

will render as:

a b

since the converter concatenates lines

why not apply the following:

diff --git a/transforms/__init__.py b/transforms/__init__.py
--- a/transforms/__init__.py
+++ b/transforms/__init__.py
@@ -83,7 +83,7 @@
                 if not res[-1].endswith('<p>'):
                     res.append('</p><p>')
             else:
-                res.append(xml_escape(line))
+                res.append(xml_escape(line) + '<br/>')
         res.append('</p>')
         return '\n'.join(res)
prioritynormal
typeenhancement
done in0.8.2
load0.100
load left0.000
closed by<not specified>