From 443278fa90423b498596da66908977a43660c4b4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jes=C3=BAs=20Germade?= Date: Sat, 2 May 2015 09:00:55 +0200 Subject: [PATCH] allowing dot before extension --- lib/marked.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/marked.js b/lib/marked.js index 0b7180ff62..4f849d9691 100644 --- a/lib/marked.js +++ b/lib/marked.js @@ -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: /^/ });