Index: openacs-4/packages/xowiki/tcl/form-field-procs.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/xowiki/tcl/form-field-procs.tcl,v diff -u -N -r1.281 -r1.282 --- openacs-4/packages/xowiki/tcl/form-field-procs.tcl 17 Dec 2018 17:54:38 -0000 1.281 +++ openacs-4/packages/xowiki/tcl/form-field-procs.tcl 18 Jan 2019 12:19:56 -0000 1.282 @@ -2172,8 +2172,12 @@ customConfig: '[:customConfig]', textarea_id: id }] - if {[:allowedContent] ne ""} { - append options " , allowedContent: '[:allowedContent]'\n" + if {${:allowedContent} ne ""} { + if {${:allowedContent} in {true false}} { + append options " , allowedContent: ${:allowedContent}\n" + } else { + append options " , allowedContent: '${:allowedContent}'\n" + } } if {[:templatesFiles] ne ""} { append options " , templates_files: \['[join [:pathNames [:templatesFiles]] ',' ]' \]\n"