Merge pull request #887 from psifertex/develop

adding basic numbered list support to dokuwiki export
pull/928/head
Marcel Klehr 2012-08-01 12:36:04 -07:00
commit db54ab4b36
1 changed files with 6 additions and 1 deletions

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);
}