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.37 -r1.109.2.38
--- openacs-4/packages/acs-tcl/tcl/text-html-procs.tcl 30 Aug 2022 14:48:49 -0000 1.109.2.37
+++ openacs-4/packages/acs-tcl/tcl/text-html-procs.tcl 1 Sep 2022 07:21:21 -0000 1.109.2.38
@@ -2753,7 +2753,7 @@
# Handle closing of HTML tags, truncation
switch -- $to {
text/html {
- if {[info exists tags_are_closed]} {
+ if {[info exists tags_are_closed] && $truncate_len == 0} {
ns_log notice "No need to call util_close_html_tags"
} else {
ns_log notice "regular call closeTags (from $from to $to)"