If you enter a description for a tag, HTML elements in the description are added to final text and displayed on the tag page. Even if you just type text without formatting, the Tiny editor adds <p></p> around your description.
With previous versions of publii that didn't use Tiny to edit the tag description, this problem did not occur.
Screenshot : Creating a new tag with a description:
Screenshot : When viewing Tag page : Tag description includes<p>, strong, em
Steps to reproduce
1) create new tag and add text in description field
2) add the newly created tag to a post
3) publish
4) view tag page for the newly created tag, the tag description with include HTML syntax.
Operating system
Windows 10
Publii version
0.43.1
Post editor
None
Bug description
If you enter a description for a tag, HTML elements in the description are added to final text and displayed on the tag page. Even if you just type text without formatting, the Tiny editor adds
<p></p>
around your description.With previous versions of publii that didn't use Tiny to edit the tag description, this problem did not occur.
Screenshot : Creating a new tag with a description:
Screenshot : When viewing Tag page : Tag description includes
<p>
,strong
,em
Steps to reproduce
1) create new tag and add text in description field 2) add the newly created tag to a post 3) publish 4) view tag page for the newly created tag, the tag description with include HTML syntax.
Relevant log output
No response