fariouche

Results 26 comments of fariouche

Hi, I have a similar issue, I cannot extract text from a tag. The page I'm testing is google.com. I'm doing a get_child_node() on the node, and it returns NULL......

[dump.log](https://github.com/lexborisov/myhtml/files/1625681/dump.log) This is the google page I've got, exactly what I've pushed to myhtml_parse. myhtml_parse(pCtx->tree, MyENCODING_UTF_8, (char*)html_buffer, html_buffer_size); No error returned. Thanks

Thanks... Yes, myhtml_node_child(), not get_child_node() (typo) strange... I'm not using collection. And tokenizer_colorize_high_level() seems to work. I Just do the following: myhtml_parse() node = myhtml_node_child() Verify that tag is TAG_HTML....

This is maybe linked to myhtml_tree_parse_flags_set(tree, MyHTML_TREE_PARSE_FLAGS_SKIP_WHITESPACE_TOKEN| MyHTML_TREE_PARSE_FLAGS_WITHOUT_DOCTYPE_IN_TREE); I just tried parse_without_whitespace example, and I see that is empty

I confirm that this is because of MyHTML_TREE_PARSE_FLAGS_SKIP_WHITESPACE_TOKEN. Is a script a whitespace?

I've got it working by hardcoding the certificate in User_config.h. Pasting it in the portal seems to corrupt it (mine is 4096 Bytes)

I think I've found the root cause: In main.ino, this line: WiFiManagerParameter custom_mqtt_cert("cert", "mqtt broker cert", mqtt_cert.c_str(), 2048) set the certificate size to 2048... I think increasing it to 4096...

Not yet, I'm fighting an other bug were my server refuses the client certificate for the OTA even if I've disabled it in OMG. I will do the test as...

Ok, good news, it works with 4096 :)

Yes, same :( No issues with tasmota or esphome (I think they are both also using wifi manager)