Adding basic numbered list support to dokuwiki export

This commit is contained in:
Jordan Wiens 2012-07-15 00:37:34 -04:00
parent dae0cbfb53
commit a435a77183

View file

@ -252,7 +252,12 @@ function getDokuWikiFromAtext(pad, atext)
if (line.listLevel && lineContent)
{
pieces.push(new Array(line.listLevel + 1).join(' ') + '* ');
if (line.listTypeName == "number")
{
pieces.push(new Array(line.listLevel + 1).join(' ') + ' - ');
} else {
pieces.push(new Array(line.listLevel + 1).join(' ') + '* ');
}
}
pieces.push(lineContent);
}