mirror of
				https://github.com/node-red/node-red-nodes.git
				synced 2025-03-01 10:37:43 +00:00 
			
		
		
		
	Added support for msg.html (#773)
This commit is contained in:
		| @@ -82,6 +82,7 @@ | ||||
|     <p><code>msg.attachment</code>: attach an image (Buffer or file path)</p> | ||||
|     <p><code>msg.url</code>: to add a web address</p> | ||||
| 	<p><code>msg.url_title</code>: to add a url title if not already set in the properties</p> | ||||
| 	<p><code>msg.html</code>: set to true or 1 if message is HTML formatted | ||||
| 	<p><code>msg.sound</code>: set the notification sound, <i><a href="https://pushover.net/api#sounds" target="_new">see the available options</a></i></p> | ||||
|     <p>Uses Pushover. See <i><a href="https://pushover.net" target="_new">this link</a></i> for more details.</p> | ||||
| </script> | ||||
|   | ||||
| @@ -37,7 +37,7 @@ module.exports = function(RED) { | ||||
|             var sound = node.sound || msg.sound || null; | ||||
|             var url = node.url || msg.url || null; | ||||
|             var url_title = node.url_title || msg.url_title || null; | ||||
|             var html = node.html || false; | ||||
|             var html = node.html || msg.html || false; | ||||
|             var attachment = msg.attachment || null; | ||||
|             if (isNaN(pri)) {pri=0;} | ||||
|             if (pri > 2) {pri = 2;} | ||||
|   | ||||
		Reference in New Issue
	
	Block a user