Skip to content

Commit 22a787a

Browse files
committed
img_with_alt has been removed from mf2py
1 parent f551f5a commit 22a787a

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

app.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,13 +38,13 @@ def index():
3838
def fetch_mf2(url):
3939
if url in cached_mf2:
4040
return cached_mf2[url]
41-
p = mf2py.parse(url=url, html_parser=parser or None, img_with_alt = True)
41+
p = mf2py.parse(url=url, html_parser=parser or None)
4242
cached_mf2[url] = p
4343
return p
4444

4545
if url or doc:
4646
p = mf2py.parse(
47-
url=url or None, doc=doc or None, html_parser=parser or None, img_with_alt = True
47+
url=url or None, doc=doc or None, html_parser=parser or None
4848
)
4949
if util:
5050
if any("h-feed" in item["type"] for item in p["items"]):

0 commit comments

Comments
 (0)