From 240a3c4d99aba9aca244033425569ce56f7dc0c8 Mon Sep 17 00:00:00 2001 From: "David A. Madore" Date: Thu, 9 Oct 2014 16:57:58 +0200 Subject: Might as well add a class attribute on the table as well. --- org/madore/damlengine/TodoWeblogMonthsCalendar.java | 1 + 1 file changed, 1 insertion(+) (limited to 'org/madore/damlengine') 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 { -- cgit v1.2.3