Browse Source

adding | safe to the pad_content, now escape() and Markup() are sanitizing the input

pull/30/head
manetta 2 years ago
parent
commit
d820006525
  1. 2
      templates/preview.html

2
templates/preview.html

@ -13,7 +13,7 @@
</section>
<section id="main">
<div id="wrapper">{{ pad_content }}</div>
<div id="wrapper">{{ pad_content | safe }}</div>
</section>
</body>
</html>

Loading…
Cancel
Save