Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2008-06-30 17:19:38

morgant
Plugin Author
From: Vermont, United States
Registered: 2004-06-22
Posts: 63
Website

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):

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.

Download: mta_sanitize-0.1.txt (More Info)

Offline

Board footer

Powered by FluxBB