mirror of
https://github.com/showdownjs/showdown.git
synced 2024-03-22 13:30:55 +08:00
Revert "fix(suparsbers/lists.js): fix odd behavior for multiple consecutive lists"
This reverts commit 11f32e04a6
.
This commit is contained in:
parent
11f32e04a6
commit
e3a4541ab3
BIN
dist/showdown.js
vendored
BIN
dist/showdown.js
vendored
Binary file not shown.
BIN
dist/showdown.js.map
vendored
BIN
dist/showdown.js.map
vendored
Binary file not shown.
|
@ -1,19 +0,0 @@
|
|||
<ul>
|
||||
<li>foo</li>
|
||||
<li>bar
|
||||
<ul><li>baz
|
||||
<ul><li>bazinga</li></ul></li>
|
||||
<li>nhecos</li></ul></li>
|
||||
<li>bada</li>
|
||||
</ul>
|
||||
|
||||
<p>separator</p>
|
||||
|
||||
<ul>
|
||||
<li>foo</li>
|
||||
<li>bar
|
||||
<ol><li>baz
|
||||
<ul><li>bazinga</li></ul></li>
|
||||
<li>nhecos</li></ol></li>
|
||||
<li>bada</li>
|
||||
</ul>
|
|
@ -1,17 +0,0 @@
|
|||
- foo
|
||||
- bar
|
||||
- baz
|
||||
- bazinga
|
||||
- nhecos
|
||||
- bada
|
||||
|
||||
separator
|
||||
|
||||
- foo
|
||||
- bar
|
||||
1. baz
|
||||
+ bazinga
|
||||
2. nhecos
|
||||
- bada
|
||||
|
||||
|
|
@ -1,8 +0,0 @@
|
|||
<ul>
|
||||
<li>foo</li>
|
||||
<li>bar</li>
|
||||
</ul>
|
||||
<ul>
|
||||
<li>baz</li>
|
||||
<li>bazinga</li>
|
||||
</ul>
|
|
@ -1,6 +0,0 @@
|
|||
- foo
|
||||
- bar
|
||||
|
||||
|
||||
- baz
|
||||
- bazinga
|
|
@ -1,8 +0,0 @@
|
|||
<ul>
|
||||
<li>Item 1</li>
|
||||
<li>Item 2</li>
|
||||
</ul>
|
||||
<ol>
|
||||
<li>Item 1</li>
|
||||
<li>Item 2</li>
|
||||
</ol>
|
|
@ -1,5 +0,0 @@
|
|||
* Item 1
|
||||
* Item 2
|
||||
|
||||
1. Item 1
|
||||
2. Item 2
|
|
@ -15,26 +15,19 @@
|
|||
.map(map('test/cases/')),
|
||||
issues = fs.readdirSync('test/issues/')
|
||||
.filter(filter())
|
||||
.map(map('test/issues/')),
|
||||
extra = fs.readdirSync('test/extra/')
|
||||
.filter(filter())
|
||||
.map(map('test/extra/'));
|
||||
.map(map('test/issues/'));
|
||||
|
||||
//Tests
|
||||
describe('Converter.makeHtml() simple testcases', function () {
|
||||
var converter = new showdown.Converter();
|
||||
for (var i = 0; i < cases.length; ++i) {
|
||||
if (cases[i].name === 'github-style-at-start') {
|
||||
console.log(showdown.getOptions());
|
||||
}
|
||||
it(cases[i].name, assertion(cases[i], converter));
|
||||
}
|
||||
});
|
||||
|
||||
describe('Converter.makeHtml() EXTRA testcases', function () {
|
||||
var converter = new showdown.Converter();
|
||||
for (var i = 0; i < extra.length; ++i) {
|
||||
it(extra[i].name, assertion(extra[i], converter));
|
||||
}
|
||||
});
|
||||
|
||||
describe('Converter.makeHtml() issues testcase', function () {
|
||||
var converter = new showdown.Converter();
|
||||
for (var i = 0; i < issues.length; ++i) {
|
||||
|
|
Loading…
Reference in New Issue
Block a user