whoops proper regexp fix for listNumber
parent
bd9ff770fe
commit
e50ea6ffea
|
@ -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]+)([0-9+])/.exec(listType);
|
||||
listType = /([a-z]+)([0-9]+)/.exec(listType);
|
||||
if (listType){
|
||||
line.listTypeName = listType[1];
|
||||
line.listLevel = Number(listType[2]);
|
||||
|
|
Loading…
Reference in New Issue