Skip to content

Commit

Permalink
removing embed tag parsing, should go with #2
Browse files Browse the repository at this point in the history
  • Loading branch information
ashwanthkumar committed May 14, 2014
1 parent bb19cb5 commit 3f2c860
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ public class HtmlContentHandler extends DefaultHandler {
private final int MAX_ANCHOR_LENGTH = 100;

private enum Element {
A, IFRAME, FRAME, EMBED, BASE, META, BODY
A, IFRAME, FRAME, BASE, META, BODY
}

private static class HtmlFactory {
Expand Down Expand Up @@ -95,7 +95,7 @@ public void startElement(String uri, String localName, String qName, Attributes
return;
}

if (element == Element.IFRAME || element == Element.FRAME || element == Element.EMBED) {
if (element == Element.IFRAME || element == Element.FRAME) {
String src = attributes.getValue("src");
if (src != null) {
curUrl = new ExtractedUrlAnchorPair();
Expand Down

0 comments on commit 3f2c860

Please sign in to comment.