Fix markdown bug
This commit is contained in:
parent
2f7274b3f0
commit
3eda48f3ea
1 changed files with 1 additions and 1 deletions
|
@ -98,7 +98,7 @@ def markdown(value, lazy_load=False):
|
|||
|
||||
if not html:
|
||||
html = escape(value)
|
||||
if lazy_load or True:
|
||||
if lazy_load:
|
||||
soup = BeautifulSoup(html, features="html.parser")
|
||||
for img in soup.findAll("img"):
|
||||
if img.get("src"):
|
||||
|
|
Loading…
Reference in a new issue