Skip to content

Commit

Permalink
Make 'parseSeperator' EVEN MOAR specific
Browse files Browse the repository at this point in the history
Prevents conflict with table syntax AND alternate header syntax.
This matches exactly 3 dashes on their own line.
Use 4 or more dashes for Horizontal lines ;)
  • Loading branch information
codeGlaze committed Apr 22, 2016
1 parent b5a3c13 commit 28aebd7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/cms.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ var CMS = {
mainContainer: $(document.getElementsByClassName('cms_main')),
footerContainer: $(document.getElementsByClassName('cms_footer')),
footerText: '© ' + new Date().getFullYear() + ' All Rights Reserved.',
parseSeperator: /^---/m,
parseSeperator: /^---$/m,
postsOnFrontpage: true,
pageAsFrontpage: '',
postsOnUrl: '',
Expand Down

0 comments on commit 28aebd7

Please sign in to comment.