1
0
mirror of https://github.com/rkd77/elinks.git synced 2024-12-04 14:46:47 -05:00

[document] init_string(&document->text)

This commit is contained in:
Witold Filipczyk 2023-11-11 16:34:12 +01:00
parent b5e7eae2d1
commit ec9708a87e
2 changed files with 5 additions and 0 deletions

View File

@ -178,6 +178,10 @@ init_document(struct cache_entry *cached, struct document_options *options)
init_list(document->tags);
init_list(document->nodes);
#ifdef CONFIG_LIBDOM
init_string(&document->text);
#endif
#ifdef CONFIG_ECMASCRIPT
init_list(document->onload_snippets);
init_list(document->timeouts);

View File

@ -20,6 +20,7 @@
#include "document/libdom/mapa.h"
#include "document/libdom/renderer2.h"
#include "ecmascript/libdom/parse.h"
#include "util/string.h"
static int in_script = 0;