From dd50b6000a13e9010c7688fa4b328fdebd323783 Mon Sep 17 00:00:00 2001 From: "David A. Madore" Date: Sat, 27 Aug 2011 20:49:44 +0200 Subject: Ook! Oook! Ooook-ooook! --- org/madore/damlengine/TodoImgAElement.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'org') 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); -- cgit v1.2.3