- Methods: All Methods Documented Methods Hide Methods
- Source: Display Source Hide Source
- Variables: Show Variables Hide Variables
Class Relations
::xotcl::Object create ::xowiki::tidy
Methods (to be applied on the object)
clean (scripted)
if {[[::xo::cc package_id] get_parameter tidy:boolean 0] && [info commands ::util::which] ne ""} { set tidycmd [::util::which tidy] if {$tidycmd ne ""} { ::xo::write_tmp_file in_file $text catch {exec $tidycmd -q -w 0 -ashtml < $in_file 2> /dev/null} output file delete -- $in_file #:msg o=$output regexp <body>\n(.*)\n</body> $output _ text #:msg o=$text return $text } } return $text
- Methods: All Methods Documented Methods Hide Methods
- Source: Display Source Hide Source
- Variables: Show Variables Hide Variables