diff options
author | Simon Elvery <simon@elvery.net> | 2015-03-16 20:44:23 +1000 |
---|---|---|
committer | Simon Elvery <simon@elvery.net> | 2015-03-16 20:44:23 +1000 |
commit | 7a03e238f07381376cb8296379524767f11accfb (patch) | |
tree | d94e57b07048c78e84852e22a4d2db6d71598a29 /plugin/markdown | |
parent | 8858ee75a5b5a74c4ed102555c7baaa0f5d29ecd (diff) | |
download | fosdem-2018-presentation-7a03e238f07381376cb8296379524767f11accfb.tar fosdem-2018-presentation-7a03e238f07381376cb8296379524767f11accfb.tar.gz |
Attribute values should be quoted
Diffstat (limited to 'plugin/markdown')
-rwxr-xr-x | plugin/markdown/markdown.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugin/markdown/markdown.js b/plugin/markdown/markdown.js index 9afee06..1ef8228 100755 --- a/plugin/markdown/markdown.js +++ b/plugin/markdown/markdown.js @@ -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 ); |