@@ -560,13 +560,13 @@ describe('markdown-toolbar-element', function () {
560
560
it ( 'undo two lines list if two lines are selected' , function ( ) {
561
561
setVisualValue ( '|1. One\n2. Two|\n\nThree\n' )
562
562
clickToolbar ( 'md-ordered-list' )
563
- assert . equal ( '|One\nTwo\n\n|Three \n' , visualValue ( ) )
563
+ assert . equal ( '|One\nTwo| \n\nThree \n' , visualValue ( ) )
564
564
} )
565
565
566
566
it ( 'undo two lines list if 2 lines are partially selected' , function ( ) {
567
567
setVisualValue ( '1. O|ne\n2. Tw|o\n\nThree\n' )
568
568
clickToolbar ( 'md-ordered-list' )
569
- assert . equal ( '|One\nTwo\n\n|Three \n' , visualValue ( ) )
569
+ assert . equal ( '|One\nTwo| \n\nThree \n' , visualValue ( ) )
570
570
} )
571
571
} )
572
572
@@ -646,13 +646,13 @@ describe('markdown-toolbar-element', function () {
646
646
it ( 'undo two lines list if two lines are selected' , function ( ) {
647
647
setVisualValue ( '|- One\n- Two|\n\nThree\n' )
648
648
clickToolbar ( 'md-unordered-list' )
649
- assert . equal ( '|One\nTwo\n\n|Three \n' , visualValue ( ) )
649
+ assert . equal ( '|One\nTwo| \n\nThree \n' , visualValue ( ) )
650
650
} )
651
651
652
652
it ( 'undo two lines list if 2 lines are partially selected' , function ( ) {
653
653
setVisualValue ( '- O|ne\n- Tw|o\n\nThree\n' )
654
654
clickToolbar ( 'md-unordered-list' )
655
- assert . equal ( '|One\nTwo\n\n|Three \n' , visualValue ( ) )
655
+ assert . equal ( '|One\nTwo| \n\nThree \n' , visualValue ( ) )
656
656
} )
657
657
} )
658
658
@@ -748,7 +748,7 @@ describe('markdown-toolbar-element', function () {
748
748
it ( 'undo an ordered list by selecting multiple styled lines' , function ( ) {
749
749
setVisualValue ( '|1. One\n2. Two\n3. Three|\n' )
750
750
clickToolbar ( 'md-ordered-list' )
751
- assert . equal ( '|One\nTwo\nThree\n| ' , visualValue ( ) )
751
+ assert . equal ( '|One\nTwo\nThree|\n ' , visualValue ( ) )
752
752
} )
753
753
} )
754
754
0 commit comments