Closed (fixed)
Project:
Writeup Filter
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
23 May 2012 at 02:28 UTC
Updated:
7 Jun 2012 at 19:51 UTC
It is a pain to have to sanitize output by enabling the HTML filter, make sure the order is correct, and then add a whole lot of very common tags.
It would be great to have sanitization a built in option to the Writeup filter, since it is used so often. Ideally it would allow all tags that are not dangerous and to run the final page through the Drupal filter_xss() function.
Comments
Comment #1
anne_g commentedIt would be more useful to be able to change this option on a format by format basis. That way, for example, user comments can be completely locked down, but a content administrator can insert a script in a page if necessary.
Comment #2
andrewfn commentedExcellent idea! This has been implemented in the most recent version.