mirror of
https://github.com/MadsLorentzen/ai-job-search.git
synced 2026-11-12 09:57:41 +00:00
clean_html() previously collected only text nodes between tags into hidden_buf and discarded tag attributes. Consequently, URLs situated in attributes of hidden elements (such as href and src) bypassed the hidden_urls detection gate. In addition, void elements were skipped before checking _is_hidden(). - Inspect raw_attrs for URLs when inside a hidden element or void tag - Track navigation containers to preserve calibration for nav links - Add regression tests covering hidden href, src, and standalone void tags Co-authored-by: Mads Lorentzen <madslorentzen_17@hotmail.com>