This repository was archived by the owner on Sep 11, 2020. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -417,7 +417,7 @@ describe('Embeds addon', function () {
417417 } ) ;
418418
419419 it ( 'uses data-embed-code as container html for javascript-based embeds' , function ( ) {
420- var html = '<div class="medium-insert-embeds"><figure class="medium-insert-embed"><div data-embed-code="<div> good-value</div> ">bad-value</div></figure></div>' ,
420+ var html = '<div class="medium-insert-embeds"><figure class="medium-insert-embed"><div data-embed-code="&lt;blockquote&gt; good-value&lt;/blockquote&gt; ">bad-value</div></figure></div>' ,
421421 editor , $serialized ;
422422
423423 $ ( '#fixtures' ) . html ( '<div class="editable">' + html + '</div>' ) ;
@@ -433,7 +433,7 @@ describe('Embeds addon', function () {
433433 } ) ;
434434
435435 $serialized = $ ( editor . serialize ( ) [ 'element-0' ] . value ) ;
436- expect ( $serialized . find ( '[data-embed-code]' ) . html ( ) ) . toEqual ( '<div >good-value</div >' ) ;
436+ expect ( $serialized . find ( '[data-embed-code]' ) . html ( ) ) . toEqual ( '<blockquote >good-value</blockquote >' ) ;
437437 } ) ;
438438
439439 it ( 'does include meta when storeMeta is set' , function ( ) {
You can’t perform that action at this time.
0 commit comments