diff options
author | Sergey Poznyakoff <gray@gnu.org.ua> | 2015-07-07 11:12:11 +0300 |
---|---|---|
committer | Sergey Poznyakoff <gray@gnu.org.ua> | 2015-07-07 11:18:28 +0300 |
commit | 7d27e94627b40db4eb47b3d043c0865cfd7cb6d4 (patch) | |
tree | 89dd6ba44a2e2fc77eb89a63bcbf5cda39954086 /testdata/boldit3.wiki | |
parent | b74b1d5fe2326f56a2e37f57c38b929307c71282 (diff) | |
download | wikitrans-7d27e94627b40db4eb47b3d043c0865cfd7cb6d4.tar.gz wikitrans-7d27e94627b40db4eb47b3d043c0865cfd7cb6d4.tar.bz2 |
Handle ambiguities between italic and bold markers, add more tests.
* wikimarkup.py (tokenize): Handle the three possible
ambiguities in placing italic and bold markers.
Redefine unresolved markers as text.
* test.py: Add new tests.
* testdata/boldit1.wiki: Rewrite.
* testdata/boldit2.wiki: Rewrite.
* testdata/boldit3.wiki: Rewrite.
* testdata/boldit4.wiki: Remove.
* testdata/boldit5.wiki: Remove,
* testdata/bold.html: New file.
* testdata/boldit0.html: New file.
* testdata/boldit1.html: New file.
* testdata/boldit3.html: New file.
* testdata/it.html: New file.
* testdata/itbold1.html: New file.
* testdata/itbold1.wiki: New file.
* testdata/itbold2.html: New file.
* testdata/itbold2.wiki: New file.
* testdata/itbold3.html: New file.
* testdata/itbold3.wiki: New file.
* testdata/para.html: New file.
Diffstat (limited to 'testdata/boldit3.wiki')
-rw-r--r-- | testdata/boldit3.wiki | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/testdata/boldit3.wiki b/testdata/boldit3.wiki index 49d8a7e..a3c60a7 100644 --- a/testdata/boldit3.wiki +++ b/testdata/boldit3.wiki @@ -1 +1 @@ -now is the time for ''all '''good''' men'' to come to +'''a b ''c d''''' |