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.67.2.19 -r1.67.2.20 --- openacs-4/packages/acs-tcl/tcl/text-html-procs.tcl 11 Jan 2017 20:14:04 -0000 1.67.2.19 +++ openacs-4/packages/acs-tcl/tcl/text-html-procs.tcl 12 Jan 2017 13:10:20 -0000 1.67.2.20 @@ -1034,7 +1034,7 @@ set html "${lmarker}${html}${rmarker}" if {[catch {dom parse -html $html doc} errmsg]} { ad_log error "Failed at parsing HTML. Error from tDOM is: $errmsg" - return [expr {$validate ? 0 : ""}] + return [expr {$validate_p ? 0 : ""}] } $doc documentElement root