Ben Kurtovic
297bcb0cee
Move mwparserfromhell to src/ dir
3 anos atrás
Ben Kurtovic
b7b3b2e33e
Update changelog; minor tweak to file headers
3 anos atrás
Ben Kurtovic
1c983d3738
Assorted cleanup, linter fixes, and improvements for Python 3
3 anos atrás
Ben Kurtovic
237798a17e
Update tag definitions
3 anos atrás
Kunal Mehta
7e5297fbe6
Drop Python 2 support
Fixes #221 .
4 anos atrás
Kunal Mehta
e506380318
Add <wbr> to definitions.py
Added to MediaWiki in ff74113bea (T54468).
5 anos atrás
Ben Kurtovic
aaffb7f66b
Update copyright for 2016.
8 anos atrás
Ben Kurtovic
90bd12dd47
Fix a C tokenizer crash when parsing is interrupted ( fixes #97 )
8 anos atrás
Ben Kurtovic
5eac0ab16f
More PEP 393 work; update Textbuffer interface and usage.
9 anos atrás
Ben Kurtovic
e71e7b4ece
Update copyright years for 2015; fix whitespace in docs.
9 anos atrás
David Winegar
a8d2983161
Started table parsing in PyTokenizer
Started parsing table support and added the start of table support.
This is a big commit (ugh) and it should probably be split up into
multiple smaller ones if possible, but that seems unworkable as of
right now because of all the dependencies. Also breaks tests of
CTokenizer (double ugh) because I haven't started table support there.
May want to pick line by line on this commit later but I need to save
my work for now.
10 anos atrás
Ben Kurtovic
e5f17eea00
Update copyright notices for 2014.
10 anos atrás
Ben Kurtovic
066049b46a
Update email address.
10 anos atrás
Ben Kurtovic
7dcfa3fe92
Implement Tokenizer_really_parse_external_link(), some other fixes
10 anos atrás
Ben Kurtovic
223f3fa658
Actually, they're called URI schemes, not URL schemes.
10 anos atrás
Ben Kurtovic
e2d007cb9f
Actually, they're called schemes, not protocols.
10 anos atrás
Ben Kurtovic
5fc36cea71
Add is_protocol().
10 anos atrás
Ben Kurtovic
5e6e5b6301
tag_defs.py -> definitions.py; more outline stuff
10 anos atrás
Ben Kurtovic
dd2a6f913b
Add support for dt, dd. Refactor. Fix some broken tests.
10 anos atrás
Ben Kurtovic
4f52887e17
wiki_markup stores the markup itself instead of a bool
11 anos atrás
Ben Kurtovic
de6d5074fa
Tag.showtag -> Tag.wiki_markup
11 anos atrás
Ben Kurtovic
7d1a28a249
Support single and single-only tags like <br>.
11 anos atrás
Ben Kurtovic
6450814729
Remove 'type' attribute from tags; rework tag definitions.
11 anos atrás
Ben Kurtovic
0ee505b5a5
Docstrings for new tokenizer methods.
11 anos atrás
Ben Kurtovic
a21c69fa1e
Split off tag definitions into a new file.
11 anos atrás