[prev in list] [next in list] [prev in thread] [next in thread]
List: kupu-checkins
Subject: [kupu-checkins] r55242 - kupu/trunk/kupu/widgeteer
From: guido () codespeak ! net
Date: 2008-05-26 10:59:15
Message-ID: 20080526110048.65E872A809F () codespeak ! net
[Download RAW message or body]
Author: guido
Date: Mon May 26 13:00:45 2008
New Revision: 55242
Modified:
kupu/trunk/kupu/widgeteer/kupuinit.js
Log:
Enabled HTML tag filter, removed settings (originally copied from Silva, and
quite Silva specific).
Modified: kupu/trunk/kupu/widgeteer/kupuinit.js
==============================================================================
--- kupu/trunk/kupu/widgeteer/kupuinit.js (original)
+++ kupu/trunk/kupu/widgeteer/kupuinit.js Mon May 26 13:00:45 2008
@@ -437,20 +437,8 @@
drawertool.registerDrawer('tabledrawer', tabledrawer);
*/
-// var nonxhtmltagfilter = new NonXHTMLTagFilter();
-// kupu.registerFilter(nonxhtmltagfilter);
-
- kupu.xhtmlvalid.setAttrFilter(['is_toc', 'toc_depth', 'is_citation',
- 'source', 'author', 'source_id',
- 'silva_type', 'alignment',
- 'link_to_hires', 'link']);
- // allow all attributes on div, since ExternalSources require that
- kupu.xhtmlvalid.includeTagAttributes(['div'], ['*']);
- kupu.xhtmlvalid.includeTagAttributes(['p'], ['silva_type']);
- kupu.xhtmlvalid.includeTagAttributes(['h6'], ['silva_type']);
- kupu.xhtmlvalid.includeTagAttributes(['img'], ['alignment',
- 'link_to_hires',
- 'target', 'link']);
+ var nonxhtmltagfilter = new NonXHTMLTagFilter();
+ kupu.registerFilter(nonxhtmltagfilter);
return kupu;
}
_______________________________________________
kupu-checkins mailing list
kupu-checkins@codespeak.net
http://codespeak.net/mailman/listinfo/kupu-checkins
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic