1
0
mirror of https://github.com/rkd77/elinks.git synced 2025-02-02 15:09:23 -05:00

[dump] Check content type (to render gemini files)

This commit is contained in:
Witold Filipczyk 2024-12-17 13:55:27 +01:00
parent bf7dcf4eda
commit 59f8176d6d

@ -28,6 +28,7 @@
#include "intl/libintl.h"
#include "main/select.h"
#include "main/main.h"
#include "mime/mime.h"
#include "network/connection.h"
#include "network/state.h"
#include "osdep/ascii.h"
@ -511,6 +512,7 @@ dump_formatted(int fd, struct download *download, struct cache_entry *cached)
init_vs(&vs, cached->uri, -1);
(void)get_content_type(cached);
render_document(&vs, &formatted, &o);