mirror of
https://gitlab.com/gnuwget/wget2.git
synced 2026-02-01 14:41:08 +00:00
* include/wget/wget.h: Add 'size_t len' to wget_css_parse_buffer() and wget_css_get_urls() * libwget/css.c (wget_css_parse_buffer): Use yy_scan_bytes() instead of yy_scan_string() * libwget/css_url.c: Add param to wget_css_get_urls() and wget_css_parse_buffer() * libwget/html_url.c: Add _css_parse_encoding() and _css_parse_uri(), (_html_get_url): Deal with 'style' attribute, (wget_html_free_urls_inline): Free url if needed * libwget/test_linking.c: Add param to wget_css_parse_buffer() * libwget/xml.c (parseXML): Add check for 'style' * src/wget.c (css_parse): Add param 'size_t len' * tests/Makefile.am: Add new test test-parse-html-css * tests/test-parse-html-css.c: New file