- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-21-2023 05:36 AM
Hello Guys,
I wanted to display 'Details' field value on the 'Planned Maintenance' widget. For that I have cloned the ootb 'Planned Maintenance' widget and added the html/server side code highlighted below. But, When looking at widget I am seeing some unwanted <p> </p> tags like below. How can I remove those unwanted <p> tags?
Custom code:
Unwanted <p> </p> tags:
Thanks,
Rocky.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-21-2023 06:10 AM
The tags are appearing because Details is an HTML field. To remove those tags, try with below statement in HTML of your widget.
<div ng-bind-html="c.data.details"><div/>
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-21-2023 06:10 AM
The tags are appearing because Details is an HTML field. To remove those tags, try with below statement in HTML of your widget.
<div ng-bind-html="c.data.details"><div/>