Log a warning when the HTML reader encounters a nonconformant meta tag

Instead of throwing an exception and skipping the HTML file, log a
warning with a message which makes it more obvious as to what happened.
This commit is contained in:
Mark Lee 2013-11-08 14:37:07 -08:00
commit 35375b19ff
4 changed files with 29 additions and 1 deletions

View file

@ -86,6 +86,7 @@ class TestArticlesGenerator(unittest.TestCase):
['Test mkd File', 'published', 'test', 'article'],
['This is a super article !', 'published', 'Yeah', 'article'],
['This is a super article !', 'published', 'Yeah', 'article'],
['Article with Nonconformant HTML meta tags', 'published', 'Default', 'article'],
['This is a super article !', 'published', 'yeah', 'article'],
['This is a super article !', 'published', 'yeah', 'article'],
['This is a super article !', 'published', 'yeah', 'article'],