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.47 -r1.542.2.48 --- openacs-4/packages/xowiki/tcl/xowiki-procs.tcl 10 Oct 2019 10:28:23 -0000 1.542.2.47 +++ openacs-4/packages/xowiki/tcl/xowiki-procs.tcl 11 Oct 2019 17:32:11 -0000 1.542.2.48 @@ -4708,7 +4708,11 @@ FormPage instproc include_header_info {{-prefix ""} {-js ""} {-css ""}} { if {$css eq ""} {set css [:get_from_template ${prefix}_css]} if {$js eq ""} {set js [:get_from_template ${prefix}_js]} - foreach line [split $js \n] {::xo::Page requireJS [string trim $line]} + foreach line [split $js \n] { + if {[llength $line] > 1} { + ::xo::Page requireJS [string trim $line] + } + } foreach line [split $css \n] { set line [string trim $line] set order 1