The returned object ParsedMarkdown currently has just a toggle variable for filtering, but it needs to be a little more abstract and robust so it can be used in the filter itself.

Standalone implementations will default to filtering allowed tags mimicking Xss::filterAdmin.

The Markdown filter, however, should always allow all tags and it is up to the text format to enable filter_html alongside the Markdown filter.

CommentFileSizeAuthor
#2 3087611-2.patch10.2 KBmarkhalliwell
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

markcarver created an issue. See original summary.

markhalliwell’s picture

Status: Active » Fixed
FileSize
10.2 KB

  • markcarver committed 75e2bfe on 8.x-2.x
    Issue #3087611 by markcarver: Filter strips out certain HTML
    

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.