Fix #986: Preserve Wikipedia <h2> headings
- Ensure <h2> headings with meaningful content are not removed even if parent div contains edit/talk links
- Updated _cleanHeaders, _cleanConditionally, and _prepArticle to handle this scenario
- Added test case in test/wikipedia-h2.js to verify fix
- Existing functionality and other tests remain unaffected
Fixes #986
合并状态:未合并 1 条评论