mirror of
https://github.com/Garmelon/PFERD.git
synced 2026-04-12 07:25:04 +02:00
Internalize images in course descriptions
This commit is contained in:
parent
c1046498e7
commit
71c65e89d1
1 changed files with 1 additions and 0 deletions
|
|
@ -476,6 +476,7 @@ instance's greatest bottleneck.
|
||||||
|
|
||||||
async with dl as (bar, sink):
|
async with dl as (bar, sink):
|
||||||
description = clean(insert_base_markup(description))
|
description = clean(insert_base_markup(description))
|
||||||
|
description = await self.internalize_images(description)
|
||||||
sink.file.write(description.prettify().encode("utf-8"))
|
sink.file.write(description.prettify().encode("utf-8"))
|
||||||
sink.done()
|
sink.done()
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue