Index: openacs-4/packages/xowiki/tcl/xowiki-procs.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/xowiki/tcl/xowiki-procs.tcl,v diff -u -N -r1.542.2.161 -r1.542.2.162 --- openacs-4/packages/xowiki/tcl/xowiki-procs.tcl 13 Jul 2022 10:41:43 -0000 1.542.2.161 +++ openacs-4/packages/xowiki/tcl/xowiki-procs.tcl 13 Jul 2022 11:00:12 -0000 1.542.2.162 @@ -3452,7 +3452,7 @@ #:msg status=[$r set status] if {$status == 200} { #:msg data=$data - dom parse -simple $data doc + dom parse -html -simple $data doc $doc documentElement root set n [$root selectNodes {//*[@id="result_box"]}] :msg "$text $from=>$to node '$n'" @@ -4251,7 +4251,7 @@ } Form proc disable_input_fields {{-with_submit 0} form} { - dom parse -simple $form doc + dom parse -simple -html $form doc $doc documentElement root if {$root ne ""} { :dom_disable_input_fields -with_submit $with_submit $root @@ -5152,7 +5152,7 @@ lappend field_names $att } #ns_log notice "field_names_from_form: [:serialize]" - dom parse -simple $form doc + dom parse -html -simple $form doc $doc documentElement root set fields [$root selectNodes "//*\[@name != ''\]"] foreach field $fields { @@ -5296,7 +5296,7 @@ {:form_field_as_html -mode display "\\\1" "\2" $form_fields}] # we parse the form just for the margin-form.... maybe regsub? - dom parse -simple $form :doc + dom parse -html -simple $form :doc ${:doc} documentElement :root set form_node [lindex [${:root} selectNodes //form] 0] Index: openacs-4/packages/xowiki/tcl/xowiki-www-procs.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/xowiki/tcl/xowiki-www-procs.tcl,v diff -u -N -r1.368.2.124 -r1.368.2.125 --- openacs-4/packages/xowiki/tcl/xowiki-www-procs.tcl 13 Jul 2022 10:41:43 -0000 1.368.2.124 +++ openacs-4/packages/xowiki/tcl/xowiki-www-procs.tcl 13 Jul 2022 11:00:12 -0000 1.368.2.125 @@ -1309,7 +1309,7 @@ set form [string map [list @ \x03] $form] #:msg form=$form - dom parse -simple $form :doc + dom parse -simple -html $form :doc ${:doc} documentElement :root if {${:root} eq ""} {