Attribute values should be quoted

This commit is contained in:
Simon Elvery 2015-03-16 20:44:23 +10:00
parent 8858ee75a5
commit 7a03e238f0
1 changed files with 1 additions and 1 deletions

View File

@ -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 );