We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 72a3163 commit 31766a8Copy full SHA for 31766a8
src/main/java/org/outerj/daisy/diff/html/dom/ImageNode.java
@@ -27,7 +27,7 @@ public class ImageNode extends TextNode {
27
private AttributesImpl attributes;
28
29
public ImageNode(TagNode parent, Attributes attrs) {
30
- super(parent, "<img>" + attrs.getValue("src").toLowerCase() + "</img>");
+ super(parent, "<img>" + (attrs.getValue("md5") != null ? attrs.getValue("md5").toLowerCase() : attrs.getValue("src").toLowerCase()) + "</img>");
31
attributes = new AttributesImpl(attrs);
32
}
33
0 commit comments