Content last modified Monday 6 March 2017
hop to #bottom
Current version:
About It:
Get it:
Rate it:
  • Helpful?
  • 0 Yes
  • 0 No
Flag it:

If you'd like to provide updated information and do not have access to directly edit, please contact the site admin; thanks!


This plug-in implements a container tag (mta_sanitize) which will “sanitize” any text contained between the opening & closing tag for use in a URL. This is a wrapper around the built-in sanitizeForUrl() function and will also parse other textpattern tags that it contains.


The @mta_sanitize tag has the following syntactic structure:

<txp:mta_sanitize>Some Text</mta_sanitize>


The mta_sanitize tag will accept the following attribute (note: attributes are case sensitive):


When set to 1 the sanitized text will be converted to lowercase. Available values: 0 or 1 (default).

Change Log

v0.1 Initial release.

Article Request Count:
Initially released:
Posted here:
30 Jun 2008
Article modified:
02 Jul 2008

If there is a comment form at the Information URL, you may want to leave your comments/questions there or at the Forum thread for quicker feedback. Otherwise, comment away:

Commenting is closed for this article.

Subscribe to this article's comments RSS feed. [ ? ]   View Recent Comments across the site.

You know you want to visit the Archives.




There are also tag clouds, 'cause those are fun.
Published with Textpattern