From 48c94cb368affe9142097a7b895da0dcd9ccb7dd Mon Sep 17 00:00:00 2001 From: "David A. Madore" Date: Mon, 1 Jan 2024 16:41:04 +0100 Subject: Add wbr elements in footer. --- org/madore/damlengine/TodoFooter.java | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'org') 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"); -- cgit v1.2.3