Index: openacs-4/packages/richtext-tinymce/tcl/richtext-procs.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/richtext-tinymce/tcl/richtext-procs.tcl,v diff -u -r1.4.2.9 -r1.4.2.10 --- openacs-4/packages/richtext-tinymce/tcl/richtext-procs.tcl 8 May 2024 12:41:32 -0000 1.4.2.9 +++ openacs-4/packages/richtext-tinymce/tcl/richtext-procs.tcl 23 Jul 2024 09:28:05 -0000 1.4.2.10 @@ -192,21 +192,16 @@ Converts an options dict into a JSON value suitable to configure TinyMCE. } { - # - # Serialize to JSON - # - set pairslist [list] # # Note: we may need to use a more competent JSON serialization - # to account for e.g. arrays and such, but so far this is - # enough. + # at some point, but so far this is enough. # foreach {key value} $options { if {[string is boolean -strict $value] || [string is double -strict $value] || - [regexp {^\{.*\}$} $value] + [regexp {^(\{.*\}|\[.*\])$} $value] } { lappend pairslist "${key}:${value}" } else {