mirror of
https://github.com/Garmelon/PFERD.git
synced 2025-07-12 22:22:30 +02:00
Add doctype header to forum threads
This should fix mimetype detection on most systems and is more relevant now that the report is clickable
This commit is contained in:
@ -750,7 +750,8 @@ instance's greatest bottleneck.
|
||||
return
|
||||
|
||||
async with maybe_dl as (bar, sink):
|
||||
content = element.title_tag.prettify()
|
||||
content = "<!DOCTYPE html>\n"
|
||||
content += element.title_tag.prettify()
|
||||
content += element.content_tag.prettify()
|
||||
sink.file.write(content.encode("utf-8"))
|
||||
sink.done()
|
||||
|
Reference in New Issue
Block a user