-
-
Notifications
You must be signed in to change notification settings - Fork 28
Fix: Prevent duplicate output during resume in extract_text_from_xml (Issue #76) #80
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Changes from 3 commits
1f6dd72
fc5209b
ccd48d7
2f13a4e
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| @@ -0,0 +1,14 @@ | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| <mediawiki> | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| <page> | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| <title>Test1</title> | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| <revision> | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| <text>This is [[sample]] text</text> | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| </revision> | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| </page> | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| <page> | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| <title>Test2</title> | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| <revision> | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| <text>Another {{template}} example</text> | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| </revision> | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| </page> | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| </mediawiki> | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Comment on lines
+1
to
+14
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 🧹 Nitpick | 🔵 Trivial Add an empty-output page to this fixture. Both current pages still produce non-empty cleaned text, so this file cannot exercise the counter skew that happens when a processed page emits nothing. A page like Suggested fixture addition <mediawiki>
<page>
<title>Test1</title>
<revision>
<text>This is [[sample]] text</text>
</revision>
</page>
<page>
<title>Test2</title>
<revision>
<text>Another {{template}} example</text>
</revision>
</page>
+ <page>
+ <title>EmptyAfterClean</title>
+ <revision>
+ <text>{{template}}</text>
+ </revision>
+ </page>
</mediawiki>📝 Committable suggestion
Suggested change
🤖 Prompt for AI Agents |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Uh oh!
There was an error while loading. Please reload this page.