You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thanks venturing into hell to bring us mwparser! I encountered an issue with tables and definition lists, hopefully the following makes it clear:
>>> import mwparserfromhell
>>> [x.tag for x in mwparserfromhell.parse('''{|
|-
| A
| B
|-
| C
| D
|}
''').filter_tags()]
['table', 'tr', 'td', 'td', 'tr', 'td', 'td']
>>> [x.tag for x in mwparserfromhell.parse(''':{|
|-
| A
| B
|-
| C
| D
|}
''').filter_tags()]
['dd']
Thanks venturing into hell to bring us mwparser! I encountered an issue with tables and definition lists, hopefully the following makes it clear:
You can see an example of this in Wikipedia at https://en.wikipedia.org/wiki/Eulerian_number (the second table in the "Basic properties" section)
The text was updated successfully, but these errors were encountered: