Browse Source

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

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

2
templates/preview.html

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

Loading…
Cancel
Save