# Raw HTML Omitted in templates

**URL:** <https://discourse.gohugo.io/t/raw-html-omitted-in-templates/43375>\
**Category:** support\
**Created:** [March 10, 2023, 1:16pm UTC](https://discourse.gohugo.io/t/raw-html-omitted-in-templates/43375 "2023-03-10T13:16:11Z")\
**Posts on this page:** 1\
**Showing post:** 8

<div class="post-metadata">

**Author:** ![jmooring](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.gohugo.io/jmooring/32/4214_2.png) [@jmooring](https://discourse.gohugo.io/u/jmooring)\
**Post date:** [March 11, 2023, 2:35am UTC](https://discourse.gohugo.io/t/raw-html-omitted-in-templates/43375/8 "2023-03-11T02:35:53Z")

</div>

The `<!-- raw HTML omitted -->` HTML comment is generated by Goldmark when it renders markdown to HTML. By default it considers HTML mixed with markdown unsafe.

To change the default behavior:

```auto
[markup.goldmark.renderer]
unsafe = true

```

It’s not unsafe if _you_ control the content.

But I wonder if you really need to pass whatever you’re doing through either of those functions.

---

_[View the full topic](https://discourse.gohugo.io/t/raw-html-omitted-in-templates/43375)._
