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:
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);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user