mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-04-21 07:56:16 -04:00
adding basic numbered list support to dokuwiki export
This commit is contained in:
parent
9aed433ad5
commit
c0daf1aaaf
1 changed files with 6 additions and 1 deletions
|
@ -252,7 +252,12 @@ function getDokuWikiFromAtext(pad, atext)
|
||||||
|
|
||||||
if (line.listLevel && lineContent)
|
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);
|
pieces.push(lineContent);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue