support deeper nested elements on exports
This commit is contained in:
parent
689ced8443
commit
af70902bef
|
@ -55,7 +55,7 @@ exports._analyzeLine = function(text, aline, apool){
|
||||||
var listType = Changeset.opAttributeValue(opIter.next(), 'list', apool);
|
var listType = Changeset.opAttributeValue(opIter.next(), 'list', apool);
|
||||||
if (listType){
|
if (listType){
|
||||||
lineMarker = 1;
|
lineMarker = 1;
|
||||||
listType = /([a-z]+)([12345678])/.exec(listType);
|
listType = /([a-z]+)([0-9+])/.exec(listType);
|
||||||
if (listType){
|
if (listType){
|
||||||
line.listTypeName = listType[1];
|
line.listTypeName = listType[1];
|
||||||
line.listLevel = Number(listType[2]);
|
line.listLevel = Number(listType[2]);
|
||||||
|
|
Loading…
Reference in New Issue