summaryrefslogtreecommitdiffstats
path: root/org/madore/damlengine/TodoElement.java
diff options
context:
space:
mode:
authorDavid A. Madore <david+git@madore.org>2020-12-01 19:27:25 +0100
committerDavid A. Madore <david+git@madore.org>2020-12-01 19:27:25 +0100
commit9159426ee11be9d363955b15e4d91f13e2595431 (patch)
tree0aa33592909c0814be89f99081f2e04dd1df64a2 /org/madore/damlengine/TodoElement.java
parentd2d57b5cb65061a0fcfc7c59ab592bdf99b6e13a (diff)
downloaddamlengine-9159426ee11be9d363955b15e4d91f13e2595431.tar.gz
damlengine-9159426ee11be9d363955b15e4d91f13e2595431.tar.bz2
damlengine-9159426ee11be9d363955b15e4d91f13e2595431.zip
Update handling of "despammed" email addresses.
Support a new <d:email-plus /> element, support a "nolink" attribute on the <d:email-despammed /> element, interchange <a> and <code> elements on output.
Diffstat (limited to 'org/madore/damlengine/TodoElement.java')
-rw-r--r--org/madore/damlengine/TodoElement.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/org/madore/damlengine/TodoElement.java b/org/madore/damlengine/TodoElement.java
index 0cc7880..818fe2b 100644
--- a/org/madore/damlengine/TodoElement.java
+++ b/org/madore/damlengine/TodoElement.java
@@ -46,6 +46,7 @@ public abstract class TodoElement extends TodoItem {
damlFactories.put("email-despammed", new TodoEmailDespammedElement.Factory());
damlFactories.put("email-at", new TodoEmailAtOrDotElement.Factory(TodoEmailAtOrDotElement.Type.AT));
damlFactories.put("email-dot", new TodoEmailAtOrDotElement.Factory(TodoEmailAtOrDotElement.Type.DOT));
+ damlFactories.put("email-plus", new TodoEmailAtOrDotElement.Factory(TodoEmailAtOrDotElement.Type.PLUS));
damlFactories.put("extra-style", new TodoExtraStyleOrScriptElement.Factory(TodoStyleOrScript.Type.STYLE));
damlFactories.put("extra-script", new TodoExtraStyleOrScriptElement.Factory(TodoStyleOrScript.Type.SCRIPT));
damlFactories.put("smiley-smile", new TodoSmileyElement.Factory(TodoSmileyElement.Type.SMILE));