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:
parent
b5e7eae2d1
commit
ec9708a87e
@ -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);
|
||||
|
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user