# HTML \< and \> symbols rendered as &lt; and &gt;

**URL:** <https://zola.discourse.group/t/html-and-symbols-rendered-as-lt-and-gt/2327>\
**Category:** Support\
**Created:** [October 18, 2024, 5:51pm UTC](https://zola.discourse.group/t/html-and-symbols-rendered-as-lt-and-gt/2327 "2024-10-18T17:51:04Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![zoof](https://avatars.discourse-cdn.com/v4/letter/z/e56c9b/32.png) [@zoof](https://zola.discourse.group/u/zoof)\
**Post date:** [October 18, 2024, 5:51pm UTC](https://zola.discourse.group/t/html-and-symbols-rendered-as-lt-and-gt/2327/1 "2024-10-18T17:51:04Z")

</div>

I’m sure this is an elementary error but why is `<p>` (and other HTML tags) being rendered as `&lt;p&gt;` in the generated HTML?

My index.html file is:

```auto
<body>
	<h1>{{ section.title }}</h1>
	{{ section.content }}
</body>

```

my \_index.md file is:

```auto
+++
title = "Test"
+++
Test

```

and the generated html is:

```auto
<body>
	<h1>Test</h1>
	&lt;p&gt;Test&lt;&#x2F;p&gt;

</body>

```

---

<div class="post-metadata">

**Author:** ![keats](https://avatars.discourse-cdn.com/v4/letter/k/34f0e0/32.png) [@keats](https://zola.discourse.group/u/keats)\
**Post date:** [October 18, 2024, 5:58pm UTC](https://zola.discourse.group/t/html-and-symbols-rendered-as-lt-and-gt/2327/2 "2024-10-18T17:58:22Z")

</div>

You need to mark it as safe `{{ section.content | safe }}`

---

<div class="post-metadata">

**Author:** ![zoof](https://avatars.discourse-cdn.com/v4/letter/z/e56c9b/32.png) [@zoof](https://zola.discourse.group/u/zoof)\
**Post date:** [October 18, 2024, 6:03pm UTC](https://zola.discourse.group/t/html-and-symbols-rendered-as-lt-and-gt/2327/3 "2024-10-18T18:03:02Z")

</div>

Ah! Many thanks!
