Closed (fixed)
Project:
Drupal core
Version:
8.0.x-dev
Component:
theme system
Priority:
Major
Category:
Task
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
6 Jun 2015 at 20:00 UTC
Updated:
21 Jun 2015 at 01:04 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
chrisfromredfinComment #2
chrisfromredfinThe only tag that is expected to be in there is a strong, and it's put there via preg_replace. So we can run it through Xss:filter() instead rather than just assuming it safe.
Comment #3
joelpittetPerfect! Because the only tag that should be there is
strongthis is great. And it's checkplain'd right before.Comment #4
xjmNice -- this looks like an excellent solution.
Has this been tested manually? If so can we document it on the issue?
Comment #5
joelpittetAdded a couple pages with various HTML into the body of Article in full HTML filter.
Before:
After:
Comment #7
xjmExcellent, thanks for the manual testing with different markup in the content.
This issue is part of a critical task and is allowed per https://www.drupal.org/core/beta-changes. Committed and pushed to 8.0.x. Thanks @peezy, @joelpittet, and @cwells!