mirror of
https://github.com/getpelican/pelican.git
synced 2025-10-15 20:28:56 +02:00
Merge d30db10cd2 into 455c159b48
This commit is contained in:
commit
01edbb5fb0
1 changed files with 1 additions and 1 deletions
|
|
@ -302,7 +302,7 @@ class HTMLReader(BaseReader):
|
|||
return result + '>'
|
||||
|
||||
def _handle_meta_tag(self, attrs):
|
||||
name = self._attr_value(attrs, 'name').lower()
|
||||
name = self._attr_value(attrs, 'name', self._attr_value(attrs, 'http-equiv', '')).lower()
|
||||
contents = self._attr_value(attrs, 'content', '')
|
||||
if not contents:
|
||||
contents = self._attr_value(attrs, 'contents', '')
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue