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
The expected behavior is for the code to run without exceptions because an empty string is a valid media wiki page.
Instead the preprocessor.parse('') call fails with:
Match failure for pattern
wikitext:(not_styled_text / styled_text / allowed_text / EOL)+
in source text at location
index #0 line 1 character 1
^
Cannot match at least 1 time(s) pattern <?>:not_styled_text / styled_text / allowed_text / EOL.
(wrapped pattern error below)
... (and lots more)
The test fails even against the latest commit from master ( d7fa6ff )
The text was updated successfully, but these errors were encountered:
Here is my testing code:
The expected behavior is for the code to run without exceptions because an empty string is a valid
media wiki
page.Instead the
preprocessor.parse('')
call fails with:The test fails even against the latest commit from master ( d7fa6ff )
The text was updated successfully, but these errors were encountered: