mirror of
				https://github.com/zadam/trilium.git
				synced 2025-10-31 10:26:08 +01:00 
			
		
		
		
	correct quoting rules for attribute/status bar
This commit is contained in:
		| @@ -121,7 +121,7 @@ function executeScript(script) { | |||||||
| } | } | ||||||
|  |  | ||||||
| function formatValueWithWhitespace(val) { | function formatValueWithWhitespace(val) { | ||||||
|     return /\s/.test(val) ? '"' + val + '"' : val; |     return /[^\w_-]/.test(val) ? '"' + val + '"' : val; | ||||||
| } | } | ||||||
|  |  | ||||||
| function formatAttribute(attr) { | function formatAttribute(attr) { | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user