I enabled Safe HTML and disabled the default HTML Filter that comes with Drupal, but when i go to - for example /admin/settings/filters/4/configure, I still see configuration options for HTML Filter, and when I submit html content it still seems to be filtered by HTML Filter (I cannot use tags I didn't specifically permit in the HTML Filter options).

Is there some way to enable Safe HTML without enabling HTML Filter?
Thanks!

CommentFileSizeAuthor
#1 safehtml.patch820 byteszxombie

Comments

zxombie’s picture

StatusFileSize
new820 bytes

I saw this also. The attached patch (against 5.x-1.x) removes the calls to _filter_html and filter_html_settings. This means it will only remove the bad html tags. It won't give you the option to set allowed tags.

Anonymous’s picture

Status: Active » Needs review

Sweet, thanks a lot for the patch. As far as I can tell it solved the problem great.

claudiu.cristea’s picture

The HTML Filter was removed from Safe HTML module in the next release 5.x-1.2

claudiu.cristea’s picture

Status: Needs review » Closed (fixed)