fix(minor): Extract images from markdown as well
This commit is contained in:
parent
a0b3b93751
commit
e3b071dad7
1 changed files with 1 additions and 0 deletions
|
|
@ -100,6 +100,7 @@ class BlogPost(WebsiteGenerator):
|
|||
|
||||
# Extract images first before the standard image extraction to ensure they are public.
|
||||
extract_images_from_doc(self, "content", is_private=False)
|
||||
extract_images_from_doc(self, "content_md", is_private=False)
|
||||
|
||||
def reset_featured_for_other_blogs(self):
|
||||
all_posts = frappe.get_all("Blog Post", {"featured": 1})
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue