mirror of
				https://github.com/node-red/node-red.git
				synced 2025-03-01 10:36:34 +00:00 
			
		
		
		
	catch tiny possible escape for "\n " in exec command node label.
This commit is contained in:
		| @@ -70,7 +70,7 @@ | ||||
|         }, | ||||
|         icon: "cog.svg", | ||||
|         label: function() { | ||||
|             return this.name||this.command||(this.useSpawn=="true"?this._("exec.spawn"):this._("exec.exec")); | ||||
|             return this.name||this.command.replace(/\\n /g,"\\\\n ")||(this.useSpawn=="true"?this._("exec.spawn"):this._("exec.exec")); | ||||
|         }, | ||||
|         labelStyle: function() { | ||||
|             return this.name?"node_label_italic":""; | ||||
|   | ||||
		Reference in New Issue
	
	Block a user