FIX: info not working, not suppressing hidden tags from report (#696)
2 small fixes 1. The info button was not properly working post refactor 2. Suppress any secured tags from report input
This commit is contained in:
@@ -5,6 +5,10 @@ export const IMAGE_MARKDOWN_REGEX =
|
||||
/!\[(.*?)\|(\d{1,4}x\d{1,4})(,\s*\d{1,3}%)?(.*?)\]\((upload:\/\/.*?)\)(?!(.*`))/g;
|
||||
|
||||
export function jsonToHtml(json) {
|
||||
if (json === null) {
|
||||
return "null";
|
||||
}
|
||||
|
||||
if (typeof json !== "object") {
|
||||
return escapeExpression(json);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user