Index: openacs-4/packages/xowiki/tcl/adp-generator-procs.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/xowiki/tcl/adp-generator-procs.tcl,v diff -u -r1.32 -r1.33 --- openacs-4/packages/xowiki/tcl/adp-generator-procs.tcl 8 May 2009 09:12:15 -0000 1.32 +++ openacs-4/packages/xowiki/tcl/adp-generator-procs.tcl 5 Jun 2009 12:20:10 -0000 1.33 @@ -136,7 +136,7 @@ ADP_Generator create oacs-view -master 1 -footer 1 \ -extra_header_stuff { - + } \ -proc content_part {} { @@ -161,8 +161,8 @@ # ADP_Generator create oacs-view2 -master 1 -footer 1 \ -extra_header_stuff { - - + + } \ -proc before_render {page} { @@ -206,7 +206,7 @@ &__including_page=page portlet="presence -interval {30 minutes} -decoration plain">
-Contributors +Contributors @@ -225,8 +225,8 @@ div.tags h3 {font-size: 80%;} div.tags blockquote {font-size: 80%; margin-left: 20px; margin-right: 20px;} - - + + } \ -proc before_render {page} { @@ -255,7 +255,7 @@ &__including_page=page portlet="presence -interval {30 minutes} -decoration plain">
-Contributors +Contributors @@ -292,13 +292,13 @@ background: url(/resources/xowiki/bw-shadow.png) no-repeat bottom right; margin-left: 2px; margin-top: 2px; padding: 0px 6px 6px 0px; "> -
+
@toc;noquote@
@top_includelets;noquote@ -
+
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_comments

$gc_link" + return "

#general-comments.Comments#

    $gc_comments
$gc_link" } else { return "$gc_link" } Index: openacs-4/packages/xowiki/www/oacs-view.adp =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/xowiki/www/Attic/oacs-view.adp,v diff -u -r1.58 -r1.59 --- openacs-4/packages/xowiki/www/oacs-view.adp 8 May 2009 09:12:15 -0000 1.58 +++ openacs-4/packages/xowiki/www/oacs-view.adp 5 Jun 2009 12:20:10 -0000 1.59 @@ -1,4 +1,4 @@ - + @title;noquote@ @context;noquote@ @@ -8,7 +8,7 @@ - + @header_stuff;noquote@ @header_stuff;noquote@ @header_stuff;noquote@ @header_stuff;noquote@ @header_stuff;noquote@ @header_stuff;noquote@