Skip to content

newsletter: remove unwanted tags from lead

Larissa Reis requested to merge larissa/noosfero:newsletter-article-image into master

Filter out image and other tags from newsletter articles's lead since the only image for an article in the newsletter has to be the article's image. The content in the lead can't have any type of additional formatting in the newsletter's body.

This also fixes the problem with not sanitizing p tags with any attributes, like styles commonly added by tinymce.

Merge request reports