Index: openacs-4/packages/xowf/lib/inclass-exam.wf =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/xowf/lib/Attic/inclass-exam.wf,v diff -u -N -r1.1.2.77 -r1.1.2.78 --- openacs-4/packages/xowf/lib/inclass-exam.wf 27 Aug 2021 18:33:47 -0000 1.1.2.77 +++ openacs-4/packages/xowf/lib/inclass-exam.wf 16 Sep 2021 18:18:06 -0000 1.1.2.78 @@ -160,7 +160,7 @@ Action instproc publish_link {obj} { set aLink [$obj pretty_link -query m=answer] $obj util_user_message -html \ - -message "[$obj name] is available as [ns_quotehtml $aLink]" + -message "[ns_quotehtml [$obj name]] is available as [ns_quotehtml $aLink]" # TODO: make it happen in the LMS } ######################################################################## @@ -187,7 +187,7 @@ set full_fc [dict get $combined_form_info disabled_form_constraints] #:log fullQuestionForm=$fullQuestionForm - set text "

$title

" + set text "

[ns_quotehtml $title]

" set menu "" set text [::xowf::test_item::question_manager exam_info_block \ @@ -248,7 +248,7 @@ dict for {name d} $md { set href [[dict get $d obj] pretty_link -query m=[dict get $d m]] append menu "" \ - " [dict get $d label]\n" + " [ns_quotehtml [dict get $d label]]\n" } } @@ -281,7 +281,7 @@ "published" { append extraAction "
" \ "#xowf.online-exam-can_answer# " \ - "$aLink" + "[ns_quotehtml $aLink]" } } @@ -333,8 +333,6 @@ } set footer " $extraAction" - - #-form [subst {
$text
$fullQuestionForm
$report
text/html}] set f [::xowiki::Form new \ -destroy_on_cleanup \ -set name en:question \