Skip to content

Commit

Permalink
Fixed error with processing non-images with MHTML flag
Browse files Browse the repository at this point in the history
  • Loading branch information
RoryH committed Jul 19, 2011
1 parent dcef30c commit 6e502f1
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/net/nczonline/web/cssembed/CSSURLEmbedder.java
Expand Up @@ -275,14 +275,13 @@ public void embedImages(Writer out, String root) throws IOException {
builder.append(getMHTMLPath());
builder.append("!");
builder.append(entryName);
conversions++;
} else if (hasOption(DATAURI_OPTION)){
builder.append(uriString);
}
conversions++;
}
} else {
//TODO: Clean up, duplicate code
conversions++;
builder.append(uriString);
}

Expand Down

0 comments on commit 6e502f1

Please sign in to comment.