summaryrefslogtreecommitdiff
path: root/testdata/deflist.text
diff options
context:
space:
mode:
authorSergey Poznyakoff <gray@gnu.org>2018-08-01 17:18:07 +0300
committerSergey Poznyakoff <gray@gnu.org>2018-08-01 17:22:24 +0300
commitd8a4e3719e300869759393e9df7dd473f15be781 (patch)
tree7781fd56761a5c33befb34ca5eaf16ad9e9970ae /testdata/deflist.text
parenta85089f4495839590c791c02c833cd0f9b49733e (diff)
downloadwikitrans-d8a4e3719e300869759393e9df7dd473f15be781.tar.gz
wikitrans-d8a4e3719e300869759393e9df7dd473f15be781.tar.bz2
Fix wiki2text
* WikiTrans/wiki2html.py (HtmlTextNode): Escape html entities * WikiTrans/wiki2text.py: Remove the format method. * testdata/headings.html: Fix. * testdata/nowiki-tag.html: Fix. * tests/test.py: Rename to tests/test-html.py * tests/test-text.py: New file. * testdata/bold.text: New file. * testdata/boldit1.text: New file. * testdata/boldit2.text: New file. * testdata/boldit3.text: New file. * testdata/colon.text: New file. * testdata/deflist.text: New file. * testdata/headings.text: New file. * testdata/hz.text: New file. * testdata/it.text: New file. * testdata/itbold1.text: New file. * testdata/itbold2.text: New file. * testdata/itbold3.text: New file. * testdata/nowiki-ind.text: New file. * testdata/nowiki-tag.text: New file. * testdata/nowiki.text: New file. * testdata/numlist.text: New file. * testdata/para.text: New file. * testdata/unlist.text: New file.
Diffstat (limited to 'testdata/deflist.text')
-rw-r--r--testdata/deflist.text7
1 files changed, 7 insertions, 0 deletions
diff --git a/testdata/deflist.text b/testdata/deflist.text
new file mode 100644
index 0000000..b04fa95
--- /dev/null
+++ b/testdata/deflist.text
@@ -0,0 +1,7 @@
+
+item 1
+ definition 1
+item 2
+ definition 2-1
+ definition 2-2
+

Return to:

Send suggestions and report system problems to the System administrator.