Skip to content

Commit 0c427d6

Browse files
[#13] Fix tag in text_area allow_tags
1 parent 311ecb4 commit 0c427d6

File tree

1 file changed

+2
-2
lines changed
  • log_outgoing_requests/static/log_outgoing_requests/js

1 file changed

+2
-2
lines changed

log_outgoing_requests/static/log_outgoing_requests/js/admin.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,13 +12,13 @@ document.addEventListener("DOMContentLoaded", function () {
1212
try {
1313
outputValue = JSON.stringify(JSON.parse(responseBody), null, 3);
1414
} catch (error) {
15-
outputValue = "<br><span style='color: red;'>Invalid JSON format</span>";
15+
outputValue = "Invalid JSON format";
1616
}
1717
} else if (contentType.includes('xml')) {
1818
try {
1919
outputValue = prettifyXml(responseBody);
2020
} catch (xmlError) {
21-
outputValue = "<br><span style='color: red;'>Invalid XML format</span>";
21+
outputValue = "Invalid XML format";
2222
}
2323
}
2424
textArea.value = outputValue;

0 commit comments

Comments
 (0)