From 7dfc2a9c01cc89c7b82ee31c1202fbbd83dd7397 Mon Sep 17 00:00:00 2001 From: Ben Younes Date: Sat, 9 May 2026 17:32:59 +0200 Subject: [PATCH] fix(cli): strip nav/header/footer/aside from --dump text output (#55) (#82) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit `obscura fetch --dump text` walked the entire and emitted the text of navigation menus, sidebars, and footers alongside the article body. The skip list inside extract_readable_text already excluded + + "#, + ); + assert!(text.contains("Hello.")); + assert!(!text.contains("console.log")); + assert!(!text.contains("color: red")); + } +}