summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid A. Madore <david+git@madore.org>2014-10-09 16:57:58 +0200
committerDavid A. Madore <david+git@madore.org>2014-10-09 16:57:58 +0200
commit240a3c4d99aba9aca244033425569ce56f7dc0c8 (patch)
tree199c1140b903d1699418c621a18d9392af035b0d
parent4f26d86d308762f4e1a16806042e8bb4c096c2f2 (diff)
downloaddamlengine-240a3c4d99aba9aca244033425569ce56f7dc0c8.tar.gz
damlengine-240a3c4d99aba9aca244033425569ce56f7dc0c8.tar.bz2
damlengine-240a3c4d99aba9aca244033425569ce56f7dc0c8.zip
Might as well add a class attribute on the table as well.
-rw-r--r--org/madore/damlengine/TodoWeblogMonthsCalendar.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/org/madore/damlengine/TodoWeblogMonthsCalendar.java b/org/madore/damlengine/TodoWeblogMonthsCalendar.java
index d9e0573..044f05f 100644
--- a/org/madore/damlengine/TodoWeblogMonthsCalendar.java
+++ b/org/madore/damlengine/TodoWeblogMonthsCalendar.java
@@ -43,6 +43,7 @@ public final class TodoWeblogMonthsCalendar extends TodoDefaultElement {
Element table = ctx.doc.createElementNS(DamlEngine.XHTML_NS, "table");
node.getParentNode().replaceChild(table, node);
table.setAttributeNS(null, "border", "1");
+ table.setAttributeNS(null, "class", "weblog-calendar");
table.appendChild(ctx.doc.createTextNode("\n\n"));
String targetStdDir = (ctx.gc.uriToTop==null)?"":(ctx.gc.uriToTop+"weblog/");
try {