Umbraco Convert Line Breaks for TextArea

Replace line breaks in TextArea property

Posted on 15 Jul 2021

When using the built in property TextArea in Umbraco.

It is likely that the output of the property is wanting to render the line breaks as Html <br/>.

There is a handy Umbraco Html Helper:


[Umbraco-CMS/HtmlStringUtilities.cs at v8/contrib · umbraco/Umbraco-CMS · GitHub]




Umbraco Certified Expert