mirror of
				https://github.com/zadam/trilium.git
				synced 2025-10-31 02:16:05 +01:00 
			
		
		
		
	fix(client): quote breaking tooltips (fixes #1003)
This commit is contained in:
		| @@ -124,6 +124,10 @@ function escapeHtml(str: string) { | ||||
|     return str.replace(/[&<>"'`=\/]/g, (s) => entityMap[s]); | ||||
| } | ||||
|  | ||||
| export function escapeQuotes(value: string) { | ||||
|     return value.replaceAll("\"", """); | ||||
| } | ||||
|  | ||||
| function formatSize(size: number) { | ||||
|     size = Math.max(Math.round(size / 1024), 1); | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user