Attribute values should be quoted
parent
8858ee75a5
commit
7a03e238f0
|
@ -76,7 +76,7 @@
|
|||
if( /data\-(markdown|separator|vertical|notes)/gi.test( name ) ) continue;
|
||||
|
||||
if( value ) {
|
||||
result.push( name + '=' + value );
|
||||
result.push( name + '="' + value + '"' );
|
||||
}
|
||||
else {
|
||||
result.push( name );
|
||||
|
|
Loading…
Reference in New Issue