support deeper nested elements on exports

This commit is contained in:
John McLear 2015-01-18 23:16:58 +00:00
parent 689ced8443
commit af70902bef
1 changed files with 1 additions and 1 deletions

View File

@ -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]);