webforms filter system for descriptions doesn't work with tinymce correctly
marcingy - April 6, 2008 - 17:57
| Project: | Webform |
| Version: | 5.x-2.0-beta3 |
| Component: | Code |
| Category: | feature request |
| Priority: | normal |
| Assigned: | marcingy |
| Status: | patch (code needs review) |
Description
If tinymce is used to format the description text within a form formatting is not preserved by the webform filter call. This is because the call to filter_xss always uses the default filter list. This removes the
tags placed by tinymce. Instead a call should be made to check_markup to allow for variable html filter lists.
This change may justify the revision of my previous filter patch as a call to check_markup is no longer made in the description_filter function. If tinymce is not used the current filter process works correctly
| Attachment | Size |
|---|---|
| webform.filter.patch | 937 bytes |

#1
change to correct status
#2
New version to fix issue with emails etc.