From 83ee2eb00e66124376e404b15ba8ca58d8221f85 Mon Sep 17 00:00:00 2001 From: VonC Date: Mon, 14 Oct 2013 12:33:55 +0200 Subject: [PATCH] Fix markdown.js slideAttributesSeparator selection. --- plugin/markdown/markdown.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/plugin/markdown/markdown.js b/plugin/markdown/markdown.js index cf2dd29b..3b1f9c83 100755 --- a/plugin/markdown/markdown.js +++ b/plugin/markdown/markdown.js @@ -207,7 +207,7 @@ matchAttributes = slideAttributesSeparatorRegex.exec( sectionStack[i] ); slideAttributes = matchAttributes ? matchAttributes[1] : ""; content = matchAttributes ? sectionStack[i].replace( slideAttributesSeparatorRegex,"" ) : sectionStack[i] - //console.log('Slide attributes ' + options.slideAttributesSeparator + ' => ' + slideAttributes) + // console.log('Slide attributes ' + options.slideAttributesSeparator + ' => ' + slideAttributes) markdownSections += '
' + createMarkdownSlide( content, options ) + '
'; } } @@ -281,7 +281,8 @@ separator: section.getAttribute( 'data-separator' ), verticalSeparator: section.getAttribute( 'data-vertical' ), notesSeparator: section.getAttribute( 'data-notes' ), - attributes: getForwardedAttributes( section ) + attributes: getForwardedAttributes( section ), + slideAttributesSeparator: section.getAttribute( 'data-attributes' ), }); }