mirror of
https://github.com/getpelican/pelican.git
synced 2025-10-15 20:28:56 +02:00
Support inline SVGs (don't break on title in inline SVG).
This commit is contained in:
parent
643bccc497
commit
eaccca52dd
5 changed files with 30 additions and 1 deletions
|
|
@ -764,3 +764,10 @@ class HTMLReaderTest(ReaderTest):
|
|||
}
|
||||
|
||||
self.assertDictHasSubset(page.metadata, expected)
|
||||
|
||||
def test_article_with_inline_svg(self):
|
||||
page = self.read_file(path='article_with_inline_svg.html')
|
||||
expected = {
|
||||
'title': 'Article with an inline SVG',
|
||||
}
|
||||
self.assertDictHasSubset(page.metadata, expected)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue