From fbd52574f3ff945e5735bf0177646c6f1ac0aaf3 Mon Sep 17 00:00:00 2001 From: hotoo Date: Sun, 28 Sep 2014 12:54:42 +0800 Subject: [PATCH] fixed duplicate group name. --- markline.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/markline.js b/markline.js index 81a0f6d..ef11577 100644 --- a/markline.js +++ b/markline.js @@ -95,7 +95,7 @@ function parse(markdown){ var inmeta = false; function addGroup(group_name){ - if (data.data.hasOwnProperty(group_name)) { + while (data.data.hasOwnProperty(group_name)) { group_name += " "; } current_group = group_name;