Skip to content

Commit

Permalink
Handle blank slides (gnab#124).
Browse files Browse the repository at this point in the history
  • Loading branch information
gnab committed Jun 11, 2014
1 parent 745c288 commit 6f4a9aa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/remark/parser.js
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ Parser.prototype.parse = function (src) {
slides.push(stack[0]);

slides.forEach(function (slide) {
slide.content[0] = extractProperties(slide.content[0], slide.properties);
slide.content[0] = extractProperties(slide.content[0] || '', slide.properties);
});

return slides;
Expand Down

0 comments on commit 6f4a9aa

Please sign in to comment.