David Ebbo
4acb885b9f
Increase MAX_DEPTH to 100 ( #314 )
* Increase MAX_DEPTH to 100
* Update nested_templates_and_style_tags to cover new limit
pirms 10 mēnešiem
Ben Kurtovic
fac60dee48
Fix parsing of nested wikilinks
pirms 3 gadiem
Ben Kurtovic
074e368684
Clean up pytest-ported tests
pirms 3 gadiem
Ben Kurtovic
b3c98efd22
Fix a parsing bug involving deeply nested style tags ( fixes #224 )
pirms 5 gadiem
Ben Kurtovic
8a9c9224be
Speed up parsing deeply nested syntax by caching bad routes ( fixes #42 )
Also removed the max cycles stop-gap, allowing much more complex pages
to be parsed quickly without losing nodes at the end
Also fixes #65 , fixes #102 , fixes #165 , fixes #183
Also fixes #81 (Rafael Nadal parsing bug)
Also fixes #53 , fixes #58 , fixes #88 , fixes #152 (duplicate issues)
pirms 7 gadiem
Ben Kurtovic
61b6b98470
Fix two parser bugs involving wikitable error handling.
pirms 9 gadiem
Ben Kurtovic
4f3ab48375
Edge cases involving wikilink -> external link fallback ( fixes #120 )
pirms 9 gadiem
Ben Kurtovic
7993224926
Add a failing test for a missed component of #59
pirms 9 gadiem
Ben Kurtovic
07d4577c33
Add tests for < and > in wilink titles/template names ( #104 )
pirms 9 gadiem
Ben Kurtovic
6954480263
Fix template parsing when comments are inside the name ( fixes #59 ).
pirms 10 gadiem
Ben Kurtovic
fc529bdb57
Add unit tests for #59 .
pirms 10 gadiem
Ben Kurtovic
ded89fb14e
Add a few unit tests for untested code; remove a useless conditional.
pirms 10 gadiem
Ben Kurtovic
b997e4cd71
Support attributes quoted with '; add required quotes in value setter.
pirms 10 gadiem
Ben Kurtovic
02eff0fc49
Fully fix #74 . Add another tokenizer test.
pirms 10 gadiem
Ben Kurtovic
5c5fd6b3cb
Fix a bug involving nested links ( closes #61 and #62 ).
pirms 10 gadiem
Ben Kurtovic
d6e03800fa
Include tests for bracketed links too.
pirms 11 gadiem
Ben Kurtovic
7b50888e13
Tests for external links inside other markup.
pirms 11 gadiem
Ben Kurtovic
0ecf2e4231
Add a couple integration tests for ext links vs. <dl>.
pirms 11 gadiem
Ben Kurtovic
cbf67c7842
Add hooks for some ext link stuff; add a INVALID_LINK aggregate context.
pirms 11 gadiem
Ben Kurtovic
5018d9d323
Make showtag=True implicit.
pirms 11 gadiem
Ben Kurtovic
50beda0914
Improve/fix the way padding is handled.
pirms 11 gadiem
Ben Kurtovic
f63480bcf3
Update the integration.rich_tags test to use the new tag tokens.
Remove an now-unused import in the tokenizer.
pirms 11 gadiem
Ben Kurtovic
03e41286c6
Add a number of tag tests. A couple of these are failing.
pirms 11 gadiem
Ben Kurtovic
ec6ba67dbe
Tokenizer integration tests; finish unit test coverage ( closes #7 )
pirms 11 gadiem
Ben Kurtovic
6070eff657
Tokenizer tests for headings. Also, add an integration test.
pirms 11 gadiem
Ben Kurtovic
db06eda8c0
Tokenizer tests for arguments.
Also add a couple for templates and one for integration.
pirms 11 gadiem
Ben Kurtovic
a0fb8361eb
Can specify specific tokenizer tests via the command line; add files
pirms 11 gadiem