myhtml icon indicating copy to clipboard operation
myhtml copied to clipboard

Fast C/C++ HTML 5 Parser. Using threads.

Results 20 myhtml issues
Sort by recently updated
recently updated
newest added

Hi all, There is a redundant check against null issue found by Qihoo360 CodeSafe Team. Details as bellow: https://github.com/lexborisov/myhtml/blob/097039f1c71c9f34bb9177c378cb00fe69ecafa1/source/mycore/mystring.c#L78 if str_raw is a null pointer, function will return. and https://github.com/lexborisov/myhtml/blob/097039f1c71c9f34bb9177c378cb00fe69ecafa1/source/mycore/mystring.c#L81...

1.program code,test.c ```C #include #include #include #include "example.h" struct res_html { char *html; size_t size; }; struct res_html load_html_file(const char* filename) { FILE *fh = fopen(filename, "rb"); if(fh == NULL)...

Hi I am using myhtml to parse following html code ```HTML 0.0 h 0 mm ``` I expect to get: the 0.0h and 0 mm my understaning of the tree...

I am working on a project that parses html and replaces href attributes. If the html is invalid because instead a table cell (ex. ``) an `` tab is coming,...

Hi, I am trying to get the inner text of an node. ```html Link Name ``` I tried different means to get the 'Link Name' part, but I always get...

hi. Could you support Xpath? I know xpath support may be complicated but I need a relaxed version of xpath. each node of elements must have a path (like xpath)...

I am trying to parse a ``: ``` void parse_metric( myhtml_tree_t* tree, myhtml_collection_t* rows, int row_idx, std::string metric_name, int col_idx) { myhtml_collection_t* cols = myhtml_get_nodes_by_tag_id_in_scope( tree, nullptr, rows->list[row_idx], MyHTML_TAG_TD, nullptr);...

Hello! I have integrated a few open-sourced projects into OSS-Fuzz, a program sponsored by Google to provide continuous fuzz-testing of impactful open-sourced projects, and am wondering if myhtml's maintainers would...

## Env ```bash $uname -a Linux 830d0c3e8261 5.15.153.1-microsoft-standard-WSL2 #1 SMP Fri Mar 29 23:14:13 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux ``` ## Reproduction ```bash // make debug mode $ make...