trac-wiki 0.0.6 → 0.0.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/lib/trac-wiki/parser.rb +1 -0
- data/lib/trac-wiki/version.rb +1 -1
- data/test/parser_test.rb +3 -2
- metadata +1 -1
data/lib/trac-wiki/parser.rb
CHANGED
data/lib/trac-wiki/version.rb
CHANGED
data/test/parser_test.rb
CHANGED
@@ -49,6 +49,7 @@ describe TracWiki::Parser do
|
|
49
49
|
it 'should be toc' do
|
50
50
|
tc "<p>{{toc}}</p>\n", "{{toc}}"
|
51
51
|
tc "<h2>ahoj</h2><p>{{toc}}</p>\n<h2>ahoj</h2>", "==ahoj==\n{{toc}}\n\n==ahoj==\n"
|
52
|
+
tc "<h2>ahoj</h2><p>{{toc}}</p>\n<h2>ahoj</h2>", "==ahoj==\r\n{{toc}}\r\n\r\n==ahoj==\r\n"
|
52
53
|
end
|
53
54
|
|
54
55
|
it 'should parse bolditalic' do
|
@@ -482,8 +483,8 @@ describe TracWiki::Parser do
|
|
482
483
|
tc "<p>---- foo</p>\n", "---- foo\n"
|
483
484
|
|
484
485
|
# [...] no whitespace is allowed between them
|
485
|
-
tc "<p>--
|
486
|
-
tc "<p>--
|
486
|
+
tc "<p>-- --</p>\n", "-- -- "
|
487
|
+
tc "<p>-- --</p>\n", "--\t-- "
|
487
488
|
end
|
488
489
|
|
489
490
|
it 'should parse table' do
|