Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
I am new to umbraco . I created a document type then created a content node using that document type. But it is showing a wierd behaviour it is appending paragraph tags at the ends of each property value.
PFB the screenshots of the content node and the webpage.
Any help will be appreciable.
If you use a rich-text editor then it will always wrap paragraphs in a <p> tag to ensure semantic correctness.
If you just need to display plain text then use a textstring or textbox or multiple textbox input instead. See https://our.umbraco.org/Documentation/Getting-Started/Backoffice/Property-Editors/Built-in-Property-Editors/Textbox
If you need HTML formatting but don't want the tags then you can try using the following helper method:
@Umbraco.Field("fieldAlias", removeParagraphTags: true)
Where "fieldAlias" is the alias of your RTE property.
Hi Dan Diplo,
Thank you it worked. I used textstring for some fields and for text areas i used
is working on a reply...
Write your reply to:
Image will be uploaded when post is submitted