Index: openacs-4/packages/xowiki/tcl/includelet-procs.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/xowiki/tcl/includelet-procs.tcl,v diff -u -r1.115 -r1.116 --- openacs-4/packages/xowiki/tcl/includelet-procs.tcl 3 Jun 2009 06:42:58 -0000 1.115 +++ openacs-4/packages/xowiki/tcl/includelet-procs.tcl 5 Jun 2009 12:20:10 -0000 1.116 @@ -102,7 +102,9 @@ } ::xowiki::Includelet proc html_encode {string} { - return [string map [list & "&" < "<" > ">" \" """ ' "'"] $string] + # ' is not a known entity to some validators, so we use the + # numerical entity here for encoding "'" + return [string map [list & "&" < "<" > ">" \" """ ' "'"] $string] } @@ -1414,7 +1416,7 @@ foreach cat_id [category::get_mapped_categories [$__including_page set item_id]] { foreach {category_id category_name tree_id tree_name} [category::get_data $cat_id] break #my log "--cat $cat_id $category_id $category_name $tree_id $tree_name" - set entry "$category_name ($tree_name)" + set entry "$category_name ($tree_name)" if {$notification_type ne ""} { set notification_text "Subscribe category $category_name in tree $tree_name" set notifications_return_url [expr {[info exists return_url] ? $return_url : [ad_return_url]}] @@ -1462,7 +1464,7 @@ } set gc_comments [general_comments_get_comments $item_id $gc_return_url] if {$gc_comments ne ""} { - return "

#general-comments.Comments#

$gc_link" + return "

#general-comments.Comments#

$gc_link" } else { return "$gc_link" }