mirror of
				https://github.com/flynx/pWiki.git
				synced 2025-10-31 11:00:08 +00:00 
			
		
		
		
	found yet another new tiny little inconsistency...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
		
							parent
							
								
									950f42543a
								
							
						
					
					
						commit
						977b04afb9
					
				| @ -158,6 +158,7 @@ var getMarkdownOffset = function(markdown, text, i){ | |||||||
| // 		chars in text can lead to false positives and lots of potential 
 | // 		chars in text can lead to false positives and lots of potential 
 | ||||||
| // 		(not implemented) backtracking...
 | // 		(not implemented) backtracking...
 | ||||||
| // 		...needs thought...
 | // 		...needs thought...
 | ||||||
|  | // 		Q: can we cheat with this? =)
 | ||||||
| var getMarkdownOffset = function(markdown, text, i){ | var getMarkdownOffset = function(markdown, text, i){ | ||||||
| 	i = i ?? text.length | 	i = i ?? text.length | ||||||
| 	var map = [] | 	var map = [] | ||||||
|  | |||||||
| @ -68,6 +68,7 @@ var setup = function(){ | |||||||
|             this returns `69` while it should return `5` |             this returns `69` while it should return `5` | ||||||
|             _...replacing `\n\n\n` with `\n\n` seems to fix the issue (also works with spaces)_ |             _...replacing `\n\n\n` with `\n\n` seems to fix the issue (also works with spaces)_ | ||||||
|             (BUG also the above line is not italic -- can't reproduce) |             (BUG also the above line is not italic -- can't reproduce) | ||||||
|  |       - clicking right of the last line places cursor wrong | ||||||
|       - DONE M |       - DONE M | ||||||
|         M can't place cursor before first char |         M can't place cursor before first char | ||||||
|         M |         M | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user