From d678a0da5a91bb2bcaaac5d29a5962f1070da307 Mon Sep 17 00:00:00 2001
From: Ivan Tyagov <ivan@nexedi.com>
Date: Wed, 25 Aug 2010 07:56:33 +0000
Subject: [PATCH] Generate  valid XHTML.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@38005 20353a03-c40f-0410-a6d1-a30d3c3de9de
---
 .../Base_viewKnowledgePadMacroLibrary.xml          | 14 ++++----------
 .../KnowledgePad_generateAjaxCall.xml              |  7 +------
 bt5/erp5_knowledge_pad/bt/revision                 |  2 +-
 3 files changed, 6 insertions(+), 17 deletions(-)

diff --git a/bt5/erp5_knowledge_pad/SkinTemplateItem/portal_skins/erp5_knowledge_pad/Base_viewKnowledgePadMacroLibrary.xml b/bt5/erp5_knowledge_pad/SkinTemplateItem/portal_skins/erp5_knowledge_pad/Base_viewKnowledgePadMacroLibrary.xml
index 15b6a78167..ed08c0ad55 100644
--- a/bt5/erp5_knowledge_pad/SkinTemplateItem/portal_skins/erp5_knowledge_pad/Base_viewKnowledgePadMacroLibrary.xml
+++ b/bt5/erp5_knowledge_pad/SkinTemplateItem/portal_skins/erp5_knowledge_pad/Base_viewKnowledgePadMacroLibrary.xml
@@ -2,10 +2,7 @@
 <ZopeData>
   <record id="1" aka="AAAAAAAAAAE=">
     <pickle>
-      <tuple>
-        <global name="ZopePageTemplate" module="Products.PageTemplates.ZopePageTemplate"/>
-        <tuple/>
-      </tuple>
+      <global name="ZopePageTemplate" module="Products.PageTemplates.ZopePageTemplate"/>
     </pickle>
     <pickle>
       <dictionary>
@@ -211,8 +208,7 @@
                               i18n:attributes="title"\n
                               i18n:domain="ui"\n
                               class="clickable_image rename_tab_dialog_image"\n
-                              onclick="toggleElement(\'rename_tab_dialog\');" \n
-                              alt="edit"></span>\n
+                              onclick="toggleElement(\'rename_tab_dialog\');"></span>\n
 \n
                         <span title="Remove"\n
                               i18n:attributes="title"\n
@@ -223,8 +219,7 @@
                               \\\'%s\\\', \\\'%s\\\',\\\'/%s\\\')\' \n
                               %(active_knowledge_pad.getRelativeUrl(), \n
                                mode,\n
-                               context.getId())" \n
-                            alt="remove"></span>\n
+                               context.getId())"></span>\n
                         <span title="Remove"\n
                               i18n:attributes="title"\n
                               i18n:domain="ui"\n
@@ -235,8 +230,7 @@
                               %(active_knowledge_pad.getRelativeUrl(), \n
                                mode,\n
                                context.getPortalObject().getId(),\n
-                               context.getRelativeUrl())" \n
-                               alt="remove"></span>\n
+                               context.getRelativeUrl())"></span>\n
 \n
                     </li>\n
 \n
diff --git a/bt5/erp5_knowledge_pad/SkinTemplateItem/portal_skins/erp5_knowledge_pad/KnowledgePad_generateAjaxCall.xml b/bt5/erp5_knowledge_pad/SkinTemplateItem/portal_skins/erp5_knowledge_pad/KnowledgePad_generateAjaxCall.xml
index c7c75a77af..1c96713cda 100644
--- a/bt5/erp5_knowledge_pad/SkinTemplateItem/portal_skins/erp5_knowledge_pad/KnowledgePad_generateAjaxCall.xml
+++ b/bt5/erp5_knowledge_pad/SkinTemplateItem/portal_skins/erp5_knowledge_pad/KnowledgePad_generateAjaxCall.xml
@@ -2,10 +2,7 @@
 <ZopeData>
   <record id="1" aka="AAAAAAAAAAE=">
     <pickle>
-      <tuple>
-        <global name="PythonScript" module="Products.PythonScripts.PythonScript"/>
-        <tuple/>
-      </tuple>
+      <global name="PythonScript" module="Products.PythonScripts.PythonScript"/>
     </pickle>
     <pickle>
       <dictionary>
@@ -86,9 +83,7 @@ else:\n
 \n
 \n
 s = """\n
-//\074![CDATA[\n
   updater(\'%s\', \'%s\', \'%s\', \'%s\', \'%s\', %s);\n
-//]]\076\n
   """ %(url, box_relative_url, dom_id, \n
         current_web_section_url, editable_mode, encodeInJson(params))\n
 return s\n
diff --git a/bt5/erp5_knowledge_pad/bt/revision b/bt5/erp5_knowledge_pad/bt/revision
index 2b9f7e8533..40ca05e7ba 100644
--- a/bt5/erp5_knowledge_pad/bt/revision
+++ b/bt5/erp5_knowledge_pad/bt/revision
@@ -1 +1 @@
-532
\ No newline at end of file
+534
\ No newline at end of file
-- 
2.30.9