You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
You'd want to use a generator comprehension inside join i.e.
-result = '\n\n'.join(+result = '\n\n'.join((
'<p>%s</p>' % p.replace('\n', '<br>\n')
# FIXME: Is str() necessary here?
for p in PARAGRAPH_RE.split(str(escape(value)))
-)+))
In the following snippet
The text was updated successfully, but these errors were encountered: