summaryrefslogtreecommitdiffabout
path: root/wiki2text.py
authorSergey Poznyakoff <gray@gnu.org.ua>2015-07-14 13:09:36 (GMT)
committer Sergey Poznyakoff <gray@gnu.org.ua>2015-07-14 13:09:36 (GMT)
commit4097896542f2279700794104c7c0728beed38cd0 (patch) (side-by-side diff)
tree664012755efc30126a0ccef42245ce3068f06adc /wiki2text.py
parent28072898f1bd9a925d73ac187d560198d6345524 (diff)
downloadwikitrans-4097896542f2279700794104c7c0728beed38cd0.tar.gz
wikitrans-4097896542f2279700794104c7c0728beed38cd0.tar.bz2
Fix processing of environments (numbered/unnumbered lists, definition lists) and indented strings.
* wikimarkup.py (tokread): Always add 'continuation' key to DELIM entries. Delete whitespace following environment delimiters. (peektkn): Take an optional offset argument. (parse0): Handle indentations. * wiki2html.py (str_ind): Use <dl> to produce indentations. * wiki2texi.py (str_ind): End text with a newline. * testdata/colon.html: Update. * testdata/deflist.html: Update. * testdata/numlist.html: Update. * testdata/unlist.html: Update.
Diffstat (limited to 'wiki2text.py') (more/less context) (ignore whitespace changes)
0 files changed, 0 insertions, 0 deletions

Return to:

Send suggestions and report system problems to the System administrator.