| from tools.research import _strip_html | |
| def test_strip_html_basic(): | |
| assert _strip_html("<h1>Hello</h1>") == "Hello" | |
| def test_strip_html_with_tags_and_text(): | |
| assert _strip_html("<div><p>Test</p></div>") == "Test" | |
| def test_strip_html_empty(): | |
| assert _strip_html("") == "" | |
| def test_strip_html_no_tags(): | |
| assert _strip_html("Just text") == "Just text" | |