# Problem with RSS - XMLEscape

**URL:** <https://discourse.gohugo.io/t/problem-with-rss-xmlescape/47682>\
**Category:** support\
**Created:** [January 2, 2024, 7:19pm UTC](https://discourse.gohugo.io/t/problem-with-rss-xmlescape/47682 "2024-01-02T19:19:58Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![J\_B](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.gohugo.io/j_b/32/18446_2.png) [@J\_B](https://discourse.gohugo.io/u/J_B)\
**Post date:** [January 2, 2024, 7:19pm UTC](https://discourse.gohugo.io/t/problem-with-rss-xmlescape/47682/1 "2024-01-02T19:19:58Z")

</div>

Hi. I’m running Hugo v0.120.4.

I am trying to edit the rss.xml file to deploy full content in my rss feed.

The first step I took was to create the rss.xml file in my \_default folder and copy over the built-in RSS template from the zip/github.

But when I deploy Hugo with that unedited rss.xml file, I’m getting the following errors (with the same choke point on line 67):

```auto
ERROR render of "section" failed:
Error: error building site: render: failed to render pages: render of "home" failed:

execute of template failed: template: _default/rss.xml:67:33: executing "_default/rss.xml" at <transform>: can't evaluate field XMLEscape in type interface {}

```

When I deploy Hugo without the copied/pasted rss.xml file in \_default, Hugo builds normally without the error. But I only get summaries of the content, whereas I want full text RSS.

Any insight?

---

<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:** [January 2, 2024, 7:30pm UTC](https://discourse.gohugo.io/t/problem-with-rss-xmlescape/47682/2 "2024-01-02T19:30:48Z")

</div>

[https://gohugo.io/functions/transform/xmlescape/](https://gohugo.io/functions/transform/xmlescape/)

Added in v0.121.0 – you’re running an earlier version

---

<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:** [January 2, 2024, 7:37pm UTC](https://discourse.gohugo.io/t/problem-with-rss-xmlescape/47682/3 "2024-01-02T19:37:41Z")

</div>

> [@J\_B](#):
>
> I only get summaries of the content, whereas I want full text RSS

```auto
<description>{{ .Content | transform.XMLEscape | safeHTML }}</description>

```

---

<div class="post-metadata">

**Author:** ![J\_B](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.gohugo.io/j_b/32/18446_2.png) [@J\_B](https://discourse.gohugo.io/u/J_B)\
**Post date:** [January 2, 2024, 7:43pm UTC](https://discourse.gohugo.io/t/problem-with-rss-xmlescape/47682/4 "2024-01-02T19:43:37Z")

</div>

Doh!

I just upgraded Hugo again and full text seems to be working with .Content.

I’m going to test the new RSS feed and see if html formatting carries over to RSS feeds…

Thank you!

---

<div class="post-metadata">

**Author:** ![system](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.gohugo.io/system/32/1_2.png) [@system](https://discourse.gohugo.io/u/system)\
**Post date:** [January 4, 2024, 7:44pm UTC](https://discourse.gohugo.io/t/problem-with-rss-xmlescape/47682/5 "2024-01-04T19:44:20Z")

</div>

Closed on January 4, 2024, 7:44pm UTC

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.
