# Escape Content with Line Breaks

**URL:** <https://forum.getkirby.com/t/escape-content-with-line-breaks/30289>\
**Category:** Questions\
**Created:** [December 14, 2023, 3:34pm UTC](https://forum.getkirby.com/t/escape-content-with-line-breaks/30289 "2023-12-14T15:34:06Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![derfabifabi](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.getkirby.com/derfabifabi/32/10908_2.png) [@derfabifabi](https://forum.getkirby.com/u/derfabifabi)\
**Post date:** [December 14, 2023, 3:34pm UTC](https://forum.getkirby.com/t/escape-content-with-line-breaks/30289/1 "2023-12-14T15:34:06Z")

</div>

Hello!

I am currently trying to escape content from a textfield, but there is the problem that the customer has used linebreaks in the form of “\<br\>” tags in many places.

If I now use

```auto
kirbytextinline(['markdown' => ['safe' => true]])

```

the \<br\> tags are displayed visibly on the website.

Since I have to work up the content folder relatively spontaneously for the live page, I wondered if there is a possibility to escape the content of the text field, but leave the \<br\> tags untouched or convert them to “\n” or similar beforehand.

Thank you very much! 😊
