Categories:
Author:
Current version:
0.1
About It:
Get it:
Rate it:
Flag it:
mta_sanitize
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.
Syntax
The @mta_sanitize tag has the following syntactic structure:
<txp:mta_sanitize>Some Text</mta_sanitize>
Attributes
The mta_sanitize tag will accept the following attribute (note: attributes are case sensitive):
code>tolower=“integer”
When set to 1 the sanitized text will be converted to lowercase. Available values: 0 or 1 (default).
Change Log
v0.1 Initial release.
Initially released:
2008-06-30Posted here:
30 Jun 2008Article 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:
Subscribe to this article's comments RSS feed. [ ? ] View Recent Comments across the site. Get a Gravatar.