Umbraco Razor Add Line Breaks to Textbox multiple Get link Facebook X Pinterest Email Other Apps - September 11, 2013 @if (@Model.address != "") { var output = (umbraco.library.ReplaceLineBreaks(@Model.address)); <p>@Html.Raw(@output)</p> } Get link Facebook X Pinterest Email Other Apps Comments Tom Cowling14 September 2016 at 01:07Brilliantly simple! Thanks mate.ReplyDeleteRepliesMark Development16 November 2016 at 14:08Thanks for the good feedback Tom.DeleteRepliesReplyReplyUnknown4 December 2017 at 10:34Thanks for putting this out there. This saved me at least a half hour of figuring why it was being stripped in the first place.ReplyDeleteRepliesReplyAdd commentLoad more... Post a Comment
Brilliantly simple! Thanks mate.
ReplyDeleteThanks for the good feedback Tom.
DeleteThanks for putting this out there. This saved me at least a half hour of figuring why it was being stripped in the first place.
ReplyDelete