Commits

Mike Orr  committed 327da18

Bugfix in format_paragraphs(): should return a literal.

  • Participants
  • Parent commits 979fc45

Comments (0)

Files changed (2)

+tip (XXX-XX-XX)
+-----------------
+
+* webhelpers.html.converters: bugfix in ``format_paragraphs(), should return a
+  literal.
+
 1.3 (2011-03-24)
 ------------------
 

File webhelpers/html/converters.py

             para = HTML(para)
             para = para.replace("\n", br)
         paragraphs[i] = HTML.p(para)
-    return "\n\n".join(paragraphs)
+    return literal("\n\n").join(paragraphs)