David Winegar
7bbeb6899a
Fix ordering of tag representation
Self-closing wiki syntax tags have incorrectly ordered wiki syntax
and padding, fixed the ordering.
10 years ago
David Winegar
ec08001871
Tables and rows now use newline as padding
Tables and rows use newlines as padding, partly because these characters
are pretty important to the integrity of the table. They might need
to be in the preceding whitespace of inner tags instead as padding after,
not sure.
10 years ago
David Winegar
d356a570b3
Added closing_wiki_markup support to Tag node
Added support for allowing different wiki syntax for replacing the opening
and closing tags. Added for table support.
10 years ago
Ben Kurtovic
87e0079512
Take proper advantage of Sphinx's default domains.
10 years ago
Ben Kurtovic
b997e4cd71
Support attributes quoted with '; add required quotes in value setter.
10 years ago
Ricordisamoa
9108d49d68
fix some typos: occurance → occurrence, parasable → parsable
10 years ago
Ben Kurtovic
e5f17eea00
Update copyright notices for 2014.
10 years ago
Ben Kurtovic
99d433c2d5
Change protocol for Node iteration; rename __iternodes__ to __children__.
10 years ago
Ben Kurtovic
066049b46a
Update email address.
10 years ago
Ben Kurtovic
bdfd0632b3
A couple very minor nitpicks.
11 years ago
Ben Kurtovic
5e6e5b6301
tag_defs.py -> definitions.py; more outline stuff
11 years ago
Ben Kurtovic
800bd20e39
Implement Tag.has(), Tag.get(), Tag.add(), and Tag.remove() ( closes #11 ).
11 years ago
Ben Kurtovic
7a4b1625d3
Strip self-closing tags correctly.
11 years ago
Ben Kurtovic
4f52887e17
wiki_markup stores the markup itself instead of a bool
11 years ago
Ben Kurtovic
de6d5074fa
Tag.showtag -> Tag.wiki_markup
11 years ago
Ben Kurtovic
2c4bff1d68
Start test_tag; some fixes for Tags.
11 years ago
Ben Kurtovic
77c4df701b
Fix assorted bugs in the Tag node.
11 years ago
Ben Kurtovic
bee74c0ced
Some doc updates.
11 years ago
Ben Kurtovic
7d1a28a249
Support single and single-only tags like <br>.
11 years ago
Ben Kurtovic
81e8fdd682
Give Attributes more attributes for padding data.
11 years ago
Ben Kurtovic
6450814729
Remove 'type' attribute from tags; rework tag definitions.
11 years ago
Ben Kurtovic
61fc5b5eab
Fix handling of self-closing tags ( closes #31 )
11 years ago
Ben Kurtovic
cd5cc6a7d0
Update copyright notices for 2013.
11 years ago
Ben Kurtovic
eed7c918bf
Implement padding support for Tags completely; open_padding->padding.
11 years ago
Ben Kurtovic
a58c480639
Fix some usage of attrs; shorten a context, fix some behavior I broke.
11 years ago
Ben Kurtovic
146d1fd006
Fix a bug in rendering Tags; attrs->attributes; update documentation.
11 years ago
Ben Kurtovic
a21c69fa1e
Split off tag definitions into a new file.
11 years ago
Ben Kurtovic
827c544721
Should correctly handle closing tags with strange spacing.
11 years ago
Ben Kurtovic
f78bcf832a
Keep .type and .tag synchronized in Tags when using their setters.
11 years ago
Ben Kurtovic
7e46601b1d
Tags should fully work now in tokenizer and builder.
Still need to do attributes.
11 years ago
Ben Kurtovic
05ec7a1a92
Improve padding support for Tags; more code for tags in tokenizer.
11 years ago
Ben Kurtovic
d1a9ba9a34
Starting tag work.
- Translation dict, contexts, parse_* and handle_* hooks in tokenizer.
11 years ago
Ben Kurtovic
38b664f8c5
Add missing setters for some nodes and extras ( #8 )
12 years ago
Ben Kurtovic
816207bb5a
Simplify docs massively.
12 years ago
Ben Kurtovic
1caeb2d570
Build the actual Sphinx documentation, plus a number of typo fixes.
12 years ago
Ben Kurtovic
b0fbe5dc8e
Document Tag.
12 years ago
Ben Kurtovic
90b18e3abc
Finish updating all to compat except for the parser.
12 years ago
Riamse
2eb76e7de0
Adding Python 3 support
12 years ago
Ben Kurtovic
137b9fc68f
Fix some bugs; satisfy PyLint on certain inheritance things.
12 years ago
Ben Kurtovic
219b9086d2
Finish implementing Builder for all existing Nodes; BuildStack.
12 years ago
Ben Kurtovic
3633f31633
Relaive imports because they are awesome; more stuff in SmartList.
12 years ago
Ben Kurtovic
9355f22d22
Implement interface for __showtree__.
Some cleanup and import fixes.
12 years ago
Ben Kurtovic
c3f53f2e84
Minor fixes.
12 years ago
Ben Kurtovic
c3ee6c919d
Implementing __iternodes__ protocol.
12 years ago
Ben Kurtovic
69cfbd975f
Fix args.
12 years ago
Ben Kurtovic
253c812fb3
Implement __strip__ API for Wikicode.
12 years ago
Ben Kurtovic
f47f179dfd
Add a bunch of tags, plus a translator for tag -> wikicode.
12 years ago
Ben Kurtovic
fca7e9dd80
Implement Heading, HTMLTag, HTMLTagAttribute, plus some fixes.
12 years ago