diff --git a/scrapy/tests/sample_data/link_extractor/sgml_linkextractor.html b/scrapy/tests/sample_data/link_extractor/sgml_linkextractor.html index fecd86563..35aa457ee 100644 --- a/scrapy/tests/sample_data/link_extractor/sgml_linkextractor.html +++ b/scrapy/tests/sample_data/link_extractor/sgml_linkextractor.html @@ -12,6 +12,7 @@ sample 3 text sample 3 repetition +inner tag diff --git a/scrapy/tests/test_contrib_linkextractors.py b/scrapy/tests/test_contrib_linkextractors.py index 9e201e017..20a0dffde 100644 --- a/scrapy/tests/test_contrib_linkextractors.py +++ b/scrapy/tests/test_contrib_linkextractors.py @@ -123,6 +123,7 @@ class SgmlLinkExtractorTestCase(unittest.TestCase): Link(url='http://example.com/sample2.html', text=u'sample 2'), Link(url='http://example.com/sample3.html', text=u'sample 3 text'), Link(url='http://www.google.com/something', text=u''), + Link(url='http://example.com/innertag.html', text=u'inner tag'), ]) lx = SgmlLinkExtractor(allow=('sample', ))