Ben Kurtovic
|
4f52887e17
|
wiki_markup stores the markup itself instead of a bool
|
11 年前 |
Ben Kurtovic
|
de6d5074fa
|
Tag.showtag -> Tag.wiki_markup
|
11 年前 |
Ben Kurtovic
|
2c4bff1d68
|
Start test_tag; some fixes for Tags.
|
11 年前 |
Ben Kurtovic
|
b8752a5c15
|
test_attribute; better setters for padding attributes
|
11 年前 |
Ben Kurtovic
|
77c4df701b
|
Fix assorted bugs in the Tag node.
|
11 年前 |
Ben Kurtovic
|
bee74c0ced
|
Some doc updates.
|
11 年前 |
Ben Kurtovic
|
7d1a28a249
|
Support single and single-only tags like <br>.
|
11 年前 |
Ben Kurtovic
|
81e8fdd682
|
Give Attributes more attributes for padding data.
|
11 年前 |
Ben Kurtovic
|
6450814729
|
Remove 'type' attribute from tags; rework tag definitions.
|
11 年前 |
Ben Kurtovic
|
3fb8f3214c
|
Fix StringMixIn.maketrans() on Py3k.
- Make a test in Py3k actually use StringMixIn instead of str.
- Minor cosmetic fix.
|
11 年前 |
Ben Kurtovic
|
61fc5b5eab
|
Fix handling of self-closing tags (closes #31)
|
11 年前 |
Ben Kurtovic
|
81849013bc
|
Finishing tests for Templates; some fixes.
|
11 年前 |
Ben Kurtovic
|
2ca3b2805e
|
Implement 'before' parameter for Template.add() (closes #21)
|
11 年前 |
Ben Kurtovic
|
b46c98b012
|
Clean up template.add(); add a before param but do not implement yet.
|
11 年前 |
Ben Kurtovic
|
786d619274
|
Drop force_no_field in template.remove(); implement test_remove().
- Also add tests for spacing in param names.
|
11 年前 |
Ben Kurtovic
|
6a385b3921
|
TestParameter and a fair chunk of TestTemplate.
|
11 年前 |
Ben Kurtovic
|
6bf8cfd2ad
|
Fix tests for Python 3.
|
11 年前 |
Ben Kurtovic
|
8db40689ed
|
Improve a few things about nodes; simply a method in Wikicode.
|
11 年前 |
Ben Kurtovic
|
404b4479a2
|
Implement the remaining asserts in TreeEqualityTestCase.
|
11 年前 |
Ben Kurtovic
|
34b85a93cd
|
Cosmetic change: standardize whitespace after class definition.
|
11 年前 |
Ben Kurtovic
|
357e421fe8
|
Text nodes should now appear a bit better in tree form.
|
11 年前 |
Ben Kurtovic
|
cd5cc6a7d0
|
Update copyright notices for 2013.
|
11 年前 |
Ben Kurtovic
|
eed7c918bf
|
Implement padding support for Tags completely; open_padding->padding.
|
11 年前 |
Ben Kurtovic
|
a58c480639
|
Fix some usage of attrs; shorten a context, fix some behavior I broke.
|
11 年前 |
Ben Kurtovic
|
146d1fd006
|
Fix a bug in rendering Tags; attrs->attributes; update documentation.
|
11 年前 |
Ben Kurtovic
|
a21c69fa1e
|
Split off tag definitions into a new file.
|
11 年前 |
Ben Kurtovic
|
827c544721
|
Should correctly handle closing tags with strange spacing.
|
11 年前 |
Ben Kurtovic
|
f78bcf832a
|
Keep .type and .tag synchronized in Tags when using their setters.
|
11 年前 |
Ben Kurtovic
|
7e46601b1d
|
Tags should fully work now in tokenizer and builder.
Still need to do attributes.
|
11 年前 |
Ben Kurtovic
|
05ec7a1a92
|
Improve padding support for Tags; more code for tags in tokenizer.
|
11 年前 |
Ben Kurtovic
|
d1a9ba9a34
|
Starting tag work.
- Translation dict, contexts, parse_* and handle_* hooks in tokenizer.
|
11 年前 |
Ben Kurtovic
|
76b299e4fa
|
Sync from upstream (6413ae21da ); some doc updates.
|
11 年前 |
Ben Kurtovic
|
6413ae21da
|
Should have used the param's name here instead of its value.
|
11 年前 |
Ben Kurtovic
|
3dbf0bc9bb
|
Fix heading/link code stripping; add WIKILINK contexts to documentation.
|
11 年前 |
Ben Kurtovic
|
5f7566c09e
|
Bugfix.
|
11 年前 |
Ben Kurtovic
|
aa29a8bd28
|
Wikilinks in builder; some additions; cleanup.
|
11 年前 |
Ben Kurtovic
|
21d33e1802
|
Adding Wikilink class.
|
11 年前 |
Ben Kurtovic
|
bd132ad249
|
Bugfix.
|
11 年前 |
Ben Kurtovic
|
65862befdc
|
Support comments in tokenizer.
|
11 年前 |
Ben Kurtovic
|
2cfb097342
|
Comment class for <!-- comments -->; implement in builder.
|
11 年前 |
Ben Kurtovic
|
353122105d
|
Fix tokenizer so we don't destroy our textbuf writing an empty stack
* Also fix a bug in Argument
|
12 年前 |
Ben Kurtovic
|
6b84a87c7d
|
Far more robust parsing of templates and template arguments.
|
12 年前 |
Ben Kurtovic
|
c01f78aee1
|
Implement arguments in tokenizer - preliminary results are promising.
|
12 年前 |
Ben Kurtovic
|
2e44343dbc
|
Implement __iternodes__, __strip__, and __showtree__ for Argument.
|
12 年前 |
Ben Kurtovic
|
b3bfe68cd8
|
Start Argument node type, implement argument in builder (#4).
|
12 年前 |
Ben Kurtovic
|
38b664f8c5
|
Add missing setters for some nodes and extras (#8)
|
12 年前 |
Ben Kurtovic
|
816207bb5a
|
Simplify docs massively.
|
12 年前 |
Ben Kurtovic
|
1caeb2d570
|
Build the actual Sphinx documentation, plus a number of typo fixes.
|
12 年前 |
Ben Kurtovic
|
b0fbe5dc8e
|
Document Tag.
|
12 年前 |
Ben Kurtovic
|
b0418189d6
|
Document all of Template, plus some other fixes.
|
12 年前 |