Skip to content

Fix: Display HTML in titles of latest posts block.#13622

Merged
jorgefilipecosta merged 1 commit intomasterfrom
fix/display-html-in-titles-of-latest-posts-block
Feb 19, 2019
Merged

Fix: Display HTML in titles of latest posts block.#13622
jorgefilipecosta merged 1 commit intomasterfrom
fix/display-html-in-titles-of-latest-posts-block

Conversation

@jorgefilipecosta
Copy link
Copy Markdown
Member

Description

Fixes: #13603

This PR makes sure if the title of a post contains HTML tags, the HTML tags are rendered correctly in the frontend and in the editor of latest posts block.

How has this been tested?

Create a new post write "Hello World!" in the title.
Publish the post.
Create another post add the latest posts block there. Verify the HTML in the title of the post we created before is correctly displayed in the block.
Publish the post verify the HTML is also correctly displayed on the frontend.

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

Labels

[Block] Latest Posts Affects the Latest Posts Block [Package] Block library /packages/block-library [Type] Bug An existing feature does not function as intended

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants