# "safe" templating in Elixir

**URL:** <https://forum.elixirforum.com/t/safe-templating-in-elixir/40960>\
**Category:** Questions\
**Tags:** templates\
**Created:** [July 10, 2021, 3:34pm UTC](https://forum.elixirforum.com/t/safe-templating-in-elixir/40960 "2021-07-10T15:34:15Z")\
**Posts on this page:** 1\
**Showing post:** 6

<div class="post-metadata">

**Author:** ![dealloc](https://forum.elixirforum.com/user_avatar/forum.elixirforum.com/dealloc/32/16198_2.png) [@dealloc](https://forum.elixirforum.com/u/dealloc)\
**Post date:** [July 10, 2021, 5:55pm UTC](https://forum.elixirforum.com/t/safe-templating-in-elixir/40960/6 "2021-07-10T17:55:03Z")

</div>

With Markdown the “unsafe” part is potential XSS attacks, but in this case the internal tool will just render the HTML in a headless browser (that doesn’t keep any state) to render a PDF.  
The HTML here is not much of a security concern, but that’s just this specific case 🙂

---

_[View the full topic](https://forum.elixirforum.com/t/safe-templating-in-elixir/40960)._
