Index: openacs-4/packages/xowiki/tcl/xowiki-utility-procs.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/xowiki/tcl/xowiki-utility-procs.tcl,v diff -u -r1.31.2.6 -r1.31.2.7 --- openacs-4/packages/xowiki/tcl/xowiki-utility-procs.tcl 13 Mar 2014 12:33:09 -0000 1.31.2.6 +++ openacs-4/packages/xowiki/tcl/xowiki-utility-procs.tcl 1 Apr 2014 18:37:34 -0000 1.31.2.7 @@ -42,7 +42,7 @@ && [info commands ::util::which] ne ""} { set tidycmd [::util::which tidy] if {$tidycmd ne ""} { - set in_file [ns_tmpnam] + set in_file [ad_tmpnam] ::xowiki::write_file $in_file $text catch {exec $tidycmd -q -w 0 -ashtml < $in_file 2> /dev/null} output file delete $in_file