mirror of
				https://github.com/ether/etherpad-lite.git
				synced 2025-11-04 10:11:33 +01:00 
			
		
		
		
	Merge pull request #887 from psifertex/develop
adding basic numbered list support to dokuwiki export
This commit is contained in:
		
						commit
						db54ab4b36
					
				@ -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…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user