mirror of
				https://github.com/zadam/trilium.git
				synced 2025-11-04 13:39:01 +01:00 
			
		
		
		
	fix for link doubling
This commit is contained in:
		
							parent
							
								
									af33a30ad8
								
							
						
					
					
						commit
						63cc208ec7
					
				@ -106,6 +106,9 @@ function html2notecase(contents, note) {
 | 
			
		||||
 | 
			
		||||
                contents = contents.substr(0, index) + linkText + contents.substr(index + linkMatch[0].length);
 | 
			
		||||
 | 
			
		||||
                // we'll skip the link text so that it's not processed twice (second time by link auto detection)
 | 
			
		||||
                index += linkText.length;
 | 
			
		||||
 | 
			
		||||
                found = true;
 | 
			
		||||
            }
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user