Changes between Version 1 and Version 2 of Ticket #37085, comment 2
- Timestamp:
- 02/21/2017 03:27:01 PM (8 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #37085, comment 2
v1 v2 1 1 I made this little function but need more re-search about all of the allowed attributes. 2 2 Also, seems the '''form''' tag have missed the 'novalidate' attribute, but I want to read the specs about it. 3 4 Update: 5 Fieldset in $allowedposttags have no attributes allowed like id, class, form and name. I don't know right now for other attributes. 3 6 4 7 {{{ 5 8 /** 6 9 * Sanitize content for allowed HTML tags for post content. 7 *8 * Post content refers to the page contents of the 'post' type and not $_POST9 * data from forms.10 10 * 11 11 * @param string $data Post content to filter