mirror of
https://github.com/getpelican/pelican.git
synced 2025-10-15 20:28:56 +02:00
git rebase master
This commit is contained in:
parent
357f3a3da2
commit
5f639b9a3b
1 changed files with 2 additions and 2 deletions
|
|
@ -257,8 +257,8 @@ class HTMLReader(Reader):
|
||||||
return next((x[1] for x in attrs if x[0] == name), default)
|
return next((x[1] for x in attrs if x[0] == name), default)
|
||||||
|
|
||||||
def read(self, filename):
|
def read(self, filename):
|
||||||
"""Parse content and metadata of markdown files"""
|
"""Parse content and metadata of HTML files"""
|
||||||
with pelican_open(filename) as content:
|
with open(filename) as content:
|
||||||
parser = self._HTMLParser(self.settings)
|
parser = self._HTMLParser(self.settings)
|
||||||
parser.feed(content)
|
parser.feed(content)
|
||||||
parser.close()
|
parser.close()
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue