In the last post, Jinja stripped an HTML tag (I didn’t properly escape)… Here’s a properly formatted version:
def BlogPostFilter(value):
return value.replace(‘\n’,'<br>\n’)
In the last post, Jinja stripped an HTML tag (I didn’t properly escape)… Here’s a properly formatted version:
def BlogPostFilter(value):
return value.replace(‘\n’,'<br>\n’)