##// END OF EJS Templates
security: sanitize plaintext renderer with bleach.
marcink -
r3485:80e2c96a default
parent child Browse files
Show More
@@ -357,7 +357,9 b' class MarkupRenderer(object):'
357 357 if leading_newline:
358 358 source += '<br />'
359 359 source += rendered_source.replace("\n", '<br />')
360 return source
360
361 rendered = cls.bleach_clean(source)
362 return rendered
361 363
362 364 @classmethod
363 365 def markdown(cls, source, safe=True, flavored=True, mentions=False,
General Comments 0
You need to be logged in to leave comments. Login now