Content last modified Tuesday 24 August 2021
hop to #bottom
Categories:
Author:
Current version:
0.1
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!

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.

Article Request Count:
Initially released:
2008-06-30
Posted here:
30 Jun 2008

You know you want to visit the Archives.
Published with Textpattern