summaryrefslogtreecommitdiff
path: root/src/node
diff options
context:
space:
mode:
authorJohn McLear <john@mclear.co.uk>2015-01-18 23:16:58 +0000
committerJohn McLear <john@mclear.co.uk>2015-01-18 23:16:58 +0000
commitaf70902befcade65769f335a63443f6dc5dc5ef8 (patch)
treee4c65401aa9c78d67680b925ae11276774f8c40a /src/node
parent689ced8443e4e8491cbd184027d10c953c0d8466 (diff)
downloadetherpad-lite-af70902befcade65769f335a63443f6dc5dc5ef8.zip
support deeper nested elements on exports
Diffstat (limited to 'src/node')
-rw-r--r--src/node/utils/ExportHelper.js2
1 files changed, 1 insertions, 1 deletions
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]);