ad_html_text_convert

EveAndersson.com : API Browser : ad_html_text_convert

ad_html_text_convert (public)

ad_html_text_convert [ -from from ] [ -to to ] text
Defined in packages/acs-core/text-html-procs.tcl

Converts 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
[ show source ]

Show another procedure:

eve@eveandersson.com