GetPublii / Publii

The most intuitive Static Site CMS designed for SEO-optimized and privacy-focused websites.
https://getpublii.com
GNU General Public License v3.0
6.35k stars 419 forks source link

[Bug]: Tag description shows html syntax #1292

Closed drm-wntd closed 1 year ago

drm-wntd commented 1 year ago

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: newtag

Screenshot : When viewing Tag page : Tag description includes <p>, strong, em tagpage

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

bobmitro commented 1 year ago

Just update your theme to the most recent version. The modifications to the tag description were implemented in Publii version 0.42

drm-wntd commented 1 year ago

Thanks! That did it! sorry for the trouble.