sanitize
Filters input of particular HTML tags and other markup that may be unsafe content. If the sanitize parameter is "1", it will use the MT configured "GlobalSanitizeSpec" setting to control how it processes the input. But the parameter may also specify this directly. For example:
<$mt:CommentBody sanitize="b,strong,em,i,ul,li,ol,p,br/"$>
This would strip any HTML tags from the comment that are not specified in this list.
Jeremy King
August 4, 2010 9:49 AM | Reply
To allow attributes for tags, include after the tag, separated by a sace, before the comma.
Example:
sanitize="em,strong,img src,* style"
This will allow em, strong, img tags including src attribute, and any allowed tag plus a style attribute. If you include img without including src, the src attribute will be stripped from img tags.