node-red-node-ui-table
Advanced tools
Comparing version 0.3.10 to 0.3.11
17
node.js
@@ -62,3 +62,18 @@ /** | ||
function HTML(config,dark) { | ||
var configAsJson = JSON.stringify(config); | ||
var configAsJson = JSON.stringify(config, (key, value) => { | ||
// exclude the node description | ||
if (key === "info") { | ||
return undefined; | ||
} | ||
// replace single quotation mark (apostrophe) by html code in strings | ||
if (typeof (value) === "string") { | ||
return value.replace(/'/g, "'"); | ||
} | ||
// all others leave unchanged | ||
return value; | ||
} | ||
); | ||
var mid = (dark) ? "_midnight" : ""; | ||
@@ -65,0 +80,0 @@ var html = String.raw` |
{ | ||
"name": "node-red-node-ui-table", | ||
"version": "0.3.10", | ||
"version": "0.3.11", | ||
"description": "Table UI widget node for Node-RED Dashboard", | ||
@@ -5,0 +5,0 @@ "author": "Kazuhito Yokoi", |
Sorry, the diff of this file is not supported yet
1195894
22
19763