Attribute values should be quoted
This commit is contained in:
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
Block a user