Movable Type Documentation > Appendices > Appendix: Template Tag Modifiers

sanitize

Type: modifier

Runs a sanitize filter over the text. If the value of the attribute is 1, the default sanitize spec for the weblog is used. If the value is 0, the value will not be sanitized. All other values will be interpreted as a sanitize specification. See the article on GlobalSanitizeSpec for much more information on this function.

Example

<mt:tagname sanitize="1" />
This page was last updated on 2007-08-10, 16:39.  

Submit a User Contributed Note

User contributed notes are a great way to share the knowledge you have gained in using Movable Type.

If you have a technical question or problem, please visit Movable Type Support.

(If you haven't left a note here before, you may need to be approved by the site owner before your comment will appear. Until then, it won't appear on the entry. Thanks for waiting.)