Open not-my-profile opened 2 years ago
text = ''' {{hello |foo={{A}, {B}} |bar=123 }} ''' import mwparserfromhell print(mwparserfromhell.parse(text).filter_templates())
Expected output:
['{{hello\n|foo={{A}, {B}}\n|bar=123\n}}']
Received output:
['{{hello\n|foo={{A}, {B}}']
Expected output:
Received output: