summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid A. Madore <david+git@madore.org>2024-01-01 16:41:04 +0100
committerDavid A. Madore <david+git@madore.org>2024-01-01 16:41:04 +0100
commit48c94cb368affe9142097a7b895da0dcd9ccb7dd (patch)
treefaca71cea11b7e2e56b56b297766a18e1ffba5e2
parent8bff408d2ce5b415217232f0e8f44d9dff0367b8 (diff)
downloaddamlengine-48c94cb368affe9142097a7b895da0dcd9ccb7dd.tar.gz
damlengine-48c94cb368affe9142097a7b895da0dcd9ccb7dd.tar.bz2
damlengine-48c94cb368affe9142097a7b895da0dcd9ccb7dd.zip
Add wbr elements in footer.
-rw-r--r--org/madore/damlengine/TodoFooter.java6
1 files changed, 6 insertions, 0 deletions
diff --git a/org/madore/damlengine/TodoFooter.java b/org/madore/damlengine/TodoFooter.java
index 4bdbb41..cace28c 100644
--- a/org/madore/damlengine/TodoFooter.java
+++ b/org/madore/damlengine/TodoFooter.java
@@ -50,6 +50,7 @@ public final class TodoFooter extends TodoElement {
email.appendChild(ctx.doc.createTextNode("madore"));
email.appendChild(ctx.doc.createElementNS(DamlEngine.DAML_NS, "d:email-dot"));
email.appendChild(ctx.doc.createTextNode("org"));
+ addr.appendChild(ctx.doc.createElementNS(DamlEngine.XHTML_NS, "wbr"));
addr.appendChild(ctx.doc.createTextNode("|"));
a = ctx.doc.createElementNS(DamlEngine.XHTML_NS, "a");
a.setAttributeNS(null, "href",
@@ -58,30 +59,35 @@ public final class TodoFooter extends TodoElement {
a.setAttributeNS(null, "rel", "author");
addr.appendChild(a);
a.appendChild(ctx.doc.createTextNode("\u2042"));
+ // addr.appendChild(ctx.doc.createElementNS(DamlEngine.XHTML_NS, "wbr"));
// addr.appendChild(ctx.doc.createTextNode("|"));
// a = ctx.doc.createElementNS(DamlEngine.XHTML_NS, "a");
// a.setAttributeNS(null, "href", "https://plus.google.com/+davidamadore");
// a.setAttributeNS(null, "rel", "author");
// addr.appendChild(a);
// a.appendChild(ctx.doc.createTextNode("Google+"));
+ addr.appendChild(ctx.doc.createElementNS(DamlEngine.XHTML_NS, "wbr"));
addr.appendChild(ctx.doc.createTextNode("|"));
a = ctx.doc.createElementNS(DamlEngine.XHTML_NS, "a");
a.setAttributeNS(null, "href", "https://twitter.com/gro_tsen");
a.setAttributeNS(null, "rel", "me");
addr.appendChild(a);
a.appendChild(ctx.doc.createTextNode("Twitter"));
+ addr.appendChild(ctx.doc.createElementNS(DamlEngine.XHTML_NS, "wbr"));
addr.appendChild(ctx.doc.createTextNode("|"));
a = ctx.doc.createElementNS(DamlEngine.XHTML_NS, "a");
a.setAttributeNS(null, "href", "https://bsky.app/profile/gro-tsen.bsky.social");
a.setAttributeNS(null, "rel", "me");
addr.appendChild(a);
a.appendChild(ctx.doc.createTextNode("Bluesky"));
+ addr.appendChild(ctx.doc.createElementNS(DamlEngine.XHTML_NS, "wbr"));
addr.appendChild(ctx.doc.createTextNode("|"));
a = ctx.doc.createElementNS(DamlEngine.XHTML_NS, "a");
a.setAttributeNS(null, "href", "https://mastodon.sdf.org/@gro_tsen_test");
a.setAttributeNS(null, "rel", "me");
addr.appendChild(a);
a.appendChild(ctx.doc.createTextNode("Mastodon (test)"));
+ addr.appendChild(ctx.doc.createElementNS(DamlEngine.XHTML_NS, "wbr"));
addr.appendChild(ctx.doc.createTextNode("|"));
a = ctx.doc.createElementNS(DamlEngine.XHTML_NS, "a");
a.setAttributeNS(null, "href", "http://www.facebook.com/grotsen");