|
|
@@ -905,6 +905,17 @@
|
|
905
|
905
|
this.assertEqual(actual, expected);
|
|
906
|
906
|
}
|
|
907
|
907
|
|
|
|
908
|
+ test_unorderedList_hitch() {
|
|
|
909
|
+ // This incomplete bulleted list locked up the browser at one
|
|
|
910
|
+ // point, not forever but a REALLY long time
|
|
|
911
|
+ this.profile(1.0, () => {
|
|
|
912
|
+ let markdown = "Testing\n\n* ";
|
|
|
913
|
+ let expected = '<p>Testing</p> <ul> <li></li> </ul>';
|
|
|
914
|
+ let actual = this.md(markdown);
|
|
|
915
|
+ this.assertEqual(actual, expected);
|
|
|
916
|
+ });
|
|
|
917
|
+ }
|
|
|
918
|
+
|
|
908
|
919
|
test_orderedList() {
|
|
909
|
920
|
let markdown = "1. Lorem\n1. Ipsum\n5. Dolor";
|
|
910
|
921
|
let expected = '<ol> <li>Lorem</li> <li>Ipsum</li> <li>Dolor</li> </ol>';
|