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
|
|
@ -407,7 +407,7 @@ class HTMLReader(BaseReader):
|
|||
if self._in_head:
|
||||
self._in_head = False
|
||||
self._in_top_level = True
|
||||
elif tag == 'title':
|
||||
elif self._in_head and tag == 'title':
|
||||
self._in_title = False
|
||||
self.metadata['title'] = self._data_buffer
|
||||
elif tag == 'body':
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue