-
Notifications
You must be signed in to change notification settings - Fork 79
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
Parser not correctly splitting sections on certain pages #66
Comments
Unfortunately, this is a side effect of #40, namely that there's a stray For now, though, you have a solution available, assuming you aren't interested in working with italics or bold on the page. Instead of doing:
...you can do:
This will cause the parser to treat the I'll close this issue, since it falls under #40. |
Unfortunately, that solution just gives an error:
It looks like the source code in the mwparserfromhell documentation doesn't include that parameter either. |
Well, you're probably not using |
To reproduce:
I've used pywikipedia to output the text but use anything that works. The @ signs allow you to see at what point the parser has split the page into sections.
For some reason, on this particular page, it groups the ==Old Norse==, ==Old Portuguese== and ==Portuguese== sections together as one. This shouldn't be happening obviously. They should be recognised as three separate level 2 sections.
The text was updated successfully, but these errors were encountered: