ad_convert_to_text (public, deprecated)
ad_convert_to_text [ -html_p html_p ] text
Defined in packages/acs-tcl/tcl/text-html-procs.tcl
Deprecated. Invoking this procedure generates a warning.
Convenient interface to convert text or html into plaintext. Does the same as
ad_html_text_convert -to text
.
- Switches:
- -html_p (optional, defaults to
"t"
)- specify
t
if the value oftext
is formatted in HTML, orf
iftext
is plaintext. DEPRECATED: this proc is a trivial wrapper for ad_html_text_convert- Parameters:
- text (required)
- Author:
- Lars Pind <lars@pinds.com>
- Created:
- 19 July 2000
- See Also:
- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- No testcase defined.
Source code: ad_log_deprecated proc ad_convert_to_text if {$html_p == "t"} { set from "text/html" } else { set from "text/plain" } return [ad_html_text_convert -from $from -to "text/plain" -- $text]XQL Not present: Generic, PostgreSQL, Oracle