# Sending HTML to a shortcode, issues with quotes and safe filter

**URL:** <https://zola.discourse.group/t/sending-html-to-a-shortcode-issues-with-quotes-and-safe-filter/1794>\
**Category:** Support\
**Created:** [July 8, 2023, 2:03pm UTC](https://zola.discourse.group/t/sending-html-to-a-shortcode-issues-with-quotes-and-safe-filter/1794 "2023-07-08T14:03:41Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![furtidev](https://yyz2.discourse-cdn.com/free1/user_avatar/zola.discourse.group/furtidev/32/1032_2.png) [@furtidev](https://zola.discourse.group/u/furtidev)\
**Post date:** [July 8, 2023, 2:03pm UTC](https://zola.discourse.group/t/sending-html-to-a-shortcode-issues-with-quotes-and-safe-filter/1794/1 "2023-07-08T14:03:41Z")

</div>

I have a `code` shortcode, which basically wraps my code in a custom `<code>`. Now, when supplying HTML, the double quotes mess with Tera templates, so they don’t work. Using the escape sequence `&quot;` did solve that issue, now the escape sequences don’t get resolved unless I use the `safe` filter when displaying my code inside the custom `<code>`. I thought using `safe` would do the opposite, like not escape & de-escape my text. Am I misunderstanding?
