Commit fa87b8f8 authored by kaniini's avatar kaniini

worker: set MyHTML_TREE_PARSE_FLAGS_WITHOUT_DOCTYPE_IN_TREE

parent 34200411
Pipeline #19606 passed with stage
in 2 minutes and 17 seconds
......@@ -283,6 +283,7 @@ static void decode (state_t * state, ei_x_buff * response, const char * bin_data
{
myhtml_tree_t * tree = myhtml_tree_create ();
myhtml_tree_init (tree, state->myhtml);
myhtml_tree_parse_flags_set (tree, MyHTML_TREE_PARSE_FLAGS_WITHOUT_DOCTYPE_IN_TREE);
// parse tree
mystatus_t status = myhtml_parse (tree, MyENCODING_UTF_8, bin_data, bin_size);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment