To automatically strip out HTML or WebDNA tags from text, put the text inside a [RemoveHTML] context. Any HTML found in the text will be removed, leaving just the plain non-HTML text behind. Alternately you can specify that WebDNA be removed instead.
Example (normally you would put the following text into a .tpl file on your server and use a web browser to link to it):
The above line of WebDNA would produce the following:
Some Text that contains or other HTML
Anywhere HTML sequences appear inside the context, they will be removed. You may put any [xxx] tags inside the context--for instance, you may use fields from a database, or even [include] the entire contents of another file. HTML is recognized as any text which begins with "<" followed by any number of non-space characters, followed by any number of characters, followed by ">".
Parameter | Description |
---|---|
RemoveWebDNA
|
|
ReplaceWith
|
|