|
@@ -192,7 +192,7 @@ describe( 'InputCommand integration', () => {
|
|
|
simulateTyping( 'z' );
|
|
simulateTyping( 'z' );
|
|
|
|
|
|
|
|
expectOutput(
|
|
expectOutput(
|
|
|
- '<paragraph>Foo <$text bold="true">B</$text><$text italic="true"><$text bold="true">a</$text></$text>z[] Bar</paragraph>',
|
|
|
|
|
|
|
+ '<paragraph>Foo <$text bold="true">B<$text italic="true">a</$text></$text>z[] Bar</paragraph>',
|
|
|
'<p>Foo <strong>B</strong><i><strong>a</strong></i>z{} Bar</p>'
|
|
'<p>Foo <strong>B</strong><i><strong>a</strong></i>z{} Bar</p>'
|
|
|
);
|
|
);
|
|
|
|
|
|
|
@@ -200,8 +200,7 @@ describe( 'InputCommand integration', () => {
|
|
|
|
|
|
|
|
expectOutput(
|
|
expectOutput(
|
|
|
'<paragraph>' +
|
|
'<paragraph>' +
|
|
|
- 'Foo <$text bold="true">B</$text><$text italic="true"><$text bold="true">a</$text></$text>' +
|
|
|
|
|
- '<$text bold="true" italic="true">[]</$text> Bar' +
|
|
|
|
|
|
|
+ 'Foo <$text bold="true">B<$text italic="true">a[]</$text></$text> Bar' +
|
|
|
'</paragraph>',
|
|
'</paragraph>',
|
|
|
'<p>Foo <strong>B</strong><i><strong>a{}</strong></i> Bar</p>'
|
|
'<p>Foo <strong>B</strong><i><strong>a{}</strong></i> Bar</p>'
|
|
|
);
|
|
);
|