Skip to content

Commit

Permalink
Merge pull request #585 from jgermade/master
Browse files Browse the repository at this point in the history
allowing dot before extension
  • Loading branch information
chjj committed May 8, 2015
2 parents 2b5802f + 443278f commit 2c914bc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/marked.js
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ block.normal = merge({}, block);
*/

block.gfm = merge({}, block.normal, {
fences: /^ *(`{3,}|~{3,}) *(\S+)? *\n([\s\S]+?)\s*\1 *(?:\n+|$)/,
fences: /^ *(`{3,}|~{3,})[ \.]*(\S+)? *\n([\s\S]+?)\s*\1 *(?:\n+|$)/,
paragraph: /^/
});

Expand Down

0 comments on commit 2c914bc

Please sign in to comment.