diff options
-rw-r--r-- | org/madore/damlengine/TodoWrefAttr.java | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/org/madore/damlengine/TodoWrefAttr.java b/org/madore/damlengine/TodoWrefAttr.java index 5a15045..7f31250 100644 --- a/org/madore/damlengine/TodoWrefAttr.java +++ b/org/madore/damlengine/TodoWrefAttr.java @@ -40,6 +40,8 @@ public class TodoWrefAttr extends TodoAttr { String target = targetFile + "#" + targetFragment; this.owner.removeAttribute(this.attr.getName()); this.owner.setAttributeNS(null, "href", target); + if ( ! this.owner.hasAttributeNS(null, "class") ) + this.owner.setAttributeNS(null, "class", "weblog-internal-link"); } } |