Skip to content

Archive template: Sanitize content for allowed HTML tags in post title #118

Merged
KingYes merged 1 commit intoelementor:developfrom
joshfeck:tweak/post-title-html
Jul 4, 2022
Merged

Archive template: Sanitize content for allowed HTML tags in post title #118
KingYes merged 1 commit intoelementor:developfrom
joshfeck:tweak/post-title-html

Conversation

@joshfeck
Copy link
Copy Markdown
Contributor

For better or worse, html tags are allowed in the WP post title field. If a user inputs html into the title field then it should be OK to allow the html to render (instead of displaying escaped html tags)

A screenshot before adding this tweak:
before

and after:
after

@CLAassistant
Copy link
Copy Markdown

CLAassistant commented Apr 15, 2020

CLA assistant check
All committers have signed the CLA.

@arielk arielk changed the base branch from master to develop October 20, 2020 16:13
@KingYes KingYes merged commit 55041c0 into elementor:develop Jul 4, 2022
@awakekat
Copy link
Copy Markdown

I am just making note of this since I saw this in the browser tab and was testing it. If the browser tab can't be controlled with sanitization, then let it be so.
Screen Shot 2022-07-10 at 4 05 48 PM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants