<p>The only way I can see this happening is if the field was originally a Rich Text Field, the content was entered, then the field type was swapped to a plain text field.</p>

<p>If that's the case, the Rich Text Field would have encoded the entities and saved them into the database.</p>

CC BY-SA 3.0
2014-10-09T17:43:17.157Z
2014-10-09T17:43:17.157Z
Brad Bell
<p>Found the answer. I just had to do <code>entry.title|raw</code></p>

<p>I had tried this before, but silly me had done it to the wrong heading, so I never saw it change! :D</p>

CC BY-SA 3.0
2014-10-09T17:45:05.530Z
2014-10-09T17:45:05.530Z
Luke Peters
<p>I have a plain text field in Craft and the content has an apostrophe. On the front end, the apostrophe gets turned into <code>&amp;#039;</code></p>

<p>Not ideal! Thanks in advance..</p>

CC BY-SA 3.0
2014-10-09T16:52:15.820Z
You maybe ran into [the same issue as this user](http://craftcms.stackexchange.com/q/1632/125)?! Hope this helps.
carlcs
CC BY-SA 3.0
2014-10-09T17:46:50.070Z
I had tried what the answers in that link suggested, but I was just doing it on the wrong element. Oops! That solved it.
Luke Peters
<field><escaping>
Plain text field - apostrophes are getting escaped
# Plain text field - apostrophes are getting escaped

(Asked by: username_0 on 2014-10-09)

I have a plain text field in Craft and the content has an apostrophe. On the front end, the apostrophe gets turned into `'`

Not ideal! Thanks in advance..

**Tags:** field, escaping

> **Comments:**
> **username_1**: You maybe ran into [the same issue as this user](http://craftcms.stackexchange.com/q/1632/125)?! Hope this helps.  
> **username_0**: I had tried what the answers in that link suggested, but I was just doing it on the wrong element. Oops! That solved it.  

---

## 2 answers

### Answer by username_2 on 2014-10-09. Score: 2

The only way I can see this happening is if the field was originally a Rich Text Field, the content was entered, then the field type was swapped to a plain text field.

If that's the case, the Rich Text Field would have encoded the entities and saved them into the database.


---

### Answer by username_0 on 2014-10-09. Score: 2

Found the answer. I just had to do `entry.title|raw`

I had tried this before, but silly me had done it to the wrong heading, so I never saw it change! :D


---

