Index: openacs-4/packages/acs-tcl/tcl/text-html-procs.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-tcl/tcl/text-html-procs.tcl,v diff -u -r1.109.2.43 -r1.109.2.44 --- openacs-4/packages/acs-tcl/tcl/text-html-procs.tcl 22 Dec 2022 02:39:02 -0000 1.109.2.43 +++ openacs-4/packages/acs-tcl/tcl/text-html-procs.tcl 7 Feb 2023 12:46:43 -0000 1.109.2.44 @@ -2792,7 +2792,7 @@ -ad_proc -public ad_convert_to_html { +ad_proc -deprecated ad_convert_to_html { {-html_p f} text } { @@ -2802,6 +2802,10 @@ @param html_p specify t if the value of text is formatted in HTML, or f if text is plaintext. + DEPRECATED: this proc is a trivial wrapper for ad_html_text_convert + + @see ad_html_text_convert + @author Lars Pind (lars@pinds.com) @creation-date 19 July 2000 } { @@ -2813,7 +2817,7 @@ return [ad_html_text_convert -from $from -to "text/html" -- $text] } -ad_proc -public ad_convert_to_text { +ad_proc -deprecated ad_convert_to_text { {-html_p t} text } { @@ -2823,6 +2827,10 @@ @param html_p specify t if the value of text is formatted in HTML, or f if text is plaintext. + DEPRECATED: this proc is a trivial wrapper for ad_html_text_convert + + @see ad_html_text_convert + @author Lars Pind (lars@pinds.com) @creation-date 19 July 2000 } { Index: openacs-4/packages/general-comments/tcl/general-comments-procs.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/general-comments/tcl/general-comments-procs.tcl,v diff -u -r1.25.2.7 -r1.25.2.8 --- openacs-4/packages/general-comments/tcl/general-comments-procs.tcl 21 Feb 2022 08:58:26 -0000 1.25.2.7 +++ openacs-4/packages/general-comments/tcl/general-comments-procs.tcl 7 Feb 2023 12:46:43 -0000 1.25.2.8 @@ -61,10 +61,10 @@ } } - # Convert the comment to HTML + # Convert the comment to HTML if {$comment_mime_type ne "text/html"} { - set content [ad_convert_to_html $content] + set content [ad_html_text_convert $content] } # Start notifications Index: openacs-4/packages/general-comments/tcl/test/general-comments-procs.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/general-comments/tcl/test/general-comments-procs.tcl,v diff -u -r1.1.2.5 -r1.1.2.6 --- openacs-4/packages/general-comments/tcl/test/general-comments-procs.tcl 27 Feb 2021 20:21:45 -0000 1.1.2.5 +++ openacs-4/packages/general-comments/tcl/test/general-comments-procs.tcl 7 Feb 2023 12:46:43 -0000 1.1.2.6 @@ -8,7 +8,7 @@ general_comments_create_link general_comments_package_url - ad_convert_to_html + ad_html_text_convert } \ general_comments_create_link { Test general_comments_create_link and