Extract visible text paragraphs from HTML body content. Strips tags, scripts, styles; returns non-trivial paragraphs.
NOTE: This is a best-effort HTML text extraction helper for validator comparisons, not a full HTML parser. Because it is used for leakage detection, extraction correctness matters: missed script/style/tag stripping can reduce comparison accuracy. The iterative approach is intended to remove nested script/style content more completely.
Extract visible text paragraphs from HTML body content. Strips tags, scripts, styles; returns non-trivial paragraphs.
NOTE: This is a best-effort HTML text extraction helper for validator comparisons, not a full HTML parser. Because it is used for leakage detection, extraction correctness matters: missed script/style/tag stripping can reduce comparison accuracy. The iterative approach is intended to remove nested script/style content more completely.