diff options
Diffstat (limited to 'org/madore/damlengine')
-rw-r--r-- | org/madore/damlengine/TodoImgAElement.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/org/madore/damlengine/TodoImgAElement.java b/org/madore/damlengine/TodoImgAElement.java index 25a8263..aa545bc 100644 --- a/org/madore/damlengine/TodoImgAElement.java +++ b/org/madore/damlengine/TodoImgAElement.java @@ -33,7 +33,7 @@ public final class TodoImgAElement extends TodoDefaultElement { for ( Attr attr : attrList ) { if ( attr.getNamespaceURI() == null ) { String attName = attr.getLocalName(); - if ( attName == "src" ) + if ( attName.equals("src") ) a.setAttributeNS(null, "href", attr.getValue()); node.removeAttributeNode(attr); img.setAttributeNodeNS(attr); |