mirror of
				https://github.com/ether/etherpad-lite.git
				synced 2025-10-31 16:21:11 +01:00 
			
		
		
		
	Merge pull request #1119 from clkao/import-ol
Import <ol>'s as <ol>'s and not as <ul>'s!
This commit is contained in:
		
						commit
						0fa25264bc
					
				| @ -516,7 +516,7 @@ function makeContentCollector(collectStyles, browser, apool, domInterface, class | ||||
|           { | ||||
|             var type; | ||||
|             var rr = cls && /(?:^| )list-([a-z]+[12345678])\b/.exec(cls); | ||||
|             type = rr && rr[1] || "bullet" + String(Math.min(_MAX_LIST_LEVEL, (state.listNesting || 0) + 1)); | ||||
|             type = rr && rr[1] || (tname == "ul" ? "bullet" : "number") + String(Math.min(_MAX_LIST_LEVEL, (state.listNesting || 0) + 1)); | ||||
|             oldListTypeOrNull = (_enterList(state, type) || 'none'); | ||||
|           } | ||||
|           else if ((tname == "div" || tname == "p") && cls && cls.match(/(?:^| )ace-line\b/)) | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user