Defined in packages/acs-core/text-html-procs.tclConverts a chunk of text from text/html to text/html.
Text to text does nothing, but html to html closes any unclosed html tags (see util_close_html_tags).
Text to html does ad_text_to_html, and html to text does a ad_html_to_text.
See those procs for details.
- Switches:
-
-from (defaults to
"text"
) - specify with html or text what type of text you're providing.
-to (defaults to "html"
) - specify what format you want this translated into
- Parameters:
-
text
- Author:
- Lars Pind <lars@pinds.com>
- Created:
- 19 July 2000