summaryrefslogtreecommitdiff
path: root/testdata/para.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/para.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/para.text')
-rw-r--r--testdata/para.text6
1 files changed, 6 insertions, 0 deletions
diff --git a/testdata/para.text b/testdata/para.text
new file mode 100644
index 0000000..65ec74a
--- /dev/null
+++ b/testdata/para.text
@@ -0,0 +1,6 @@
+First paragraph consists of two sentences. Each sentence occupies a line.
+
+Second paragraph consists of two sentences as well. Each of them, again,
+occupies its own line.
+
+

Return to:

Send suggestions and report system problems to the System administrator.