From af70902befcade65769f335a63443f6dc5dc5ef8 Mon Sep 17 00:00:00 2001 From: John McLear Date: Sun, 18 Jan 2015 23:16:58 +0000 Subject: [PATCH] support deeper nested elements on exports --- src/node/utils/ExportHelper.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/node/utils/ExportHelper.js b/src/node/utils/ExportHelper.js index 3297c6d3..7a81bbbf 100644 --- a/src/node/utils/ExportHelper.js +++ b/src/node/utils/ExportHelper.js @@ -55,7 +55,7 @@ exports._analyzeLine = function(text, aline, apool){ var listType = Changeset.opAttributeValue(opIter.next(), 'list', apool); if (listType){ lineMarker = 1; - listType = /([a-z]+)([12345678])/.exec(listType); + listType = /([a-z]+)([0-9+])/.exec(listType); if (listType){ line.listTypeName = listType[1]; line.listLevel = Number(listType[2]);