can't disable HTML Filter?

anonymous5190 - July 31, 2007 - 23:36
Project:Safe HTML
Version:5.x-1.1
Component:User interface
Category:support request
Priority:normal
Assigned:Unassigned
Status:closed
Description

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!

#1

zxombie - August 12, 2007 - 23:38

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.

AttachmentSize
safehtml.patch 820 bytes

#2

anonymous5190 - August 13, 2007 - 01:45
Status:active» needs review

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

#3

claudiu.cristea - September 5, 2007 - 16:31

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

#4

claudiu.cristea - September 5, 2007 - 16:32
Status:needs review» closed
 
 

Drupal is a registered trademark of Dries Buytaert.