aboutsummaryrefslogtreecommitdiff
path: root/plugin/markdown
diff options
context:
space:
mode:
authorSimon Elvery <simon@elvery.net>2015-03-16 20:44:23 +1000
committerSimon Elvery <simon@elvery.net>2015-03-16 20:44:23 +1000
commit7a03e238f07381376cb8296379524767f11accfb (patch)
treed94e57b07048c78e84852e22a4d2db6d71598a29 /plugin/markdown
parent8858ee75a5b5a74c4ed102555c7baaa0f5d29ecd (diff)
downloadfosdem-2018-presentation-7a03e238f07381376cb8296379524767f11accfb.tar
fosdem-2018-presentation-7a03e238f07381376cb8296379524767f11accfb.tar.gz
Attribute values should be quoted
Diffstat (limited to 'plugin/markdown')
-rwxr-xr-xplugin/markdown/markdown.js2
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 );