|
|
// Even if image has src and alt, it can't have attributes that weren't allowed
|
|
// Even if image has src and alt, it can't have attributes that weren't allowed
|
|
|
expect( schema.check( { name: 'img', inside: '$block', attributes: [ 'alt', 'src', 'attr' ] } ) ).to.be.false;
|
|
expect( schema.check( { name: 'img', inside: '$block', attributes: [ 'alt', 'src', 'attr' ] } ) ).to.be.false;
|
|
|
describe( 'array of elements as inside', () => {
|
|
describe( 'array of elements as inside', () => {
|