fix escaping in sql console results

This commit is contained in:
zadam 2023-03-26 20:50:37 +02:00
parent cd72ea524e
commit a099876088
2 changed files with 4 additions and 5 deletions

5
package-lock.json generated
View file

@ -1,12 +1,11 @@
{
"name": "trilium",
"version": "0.59.1",
"version": "0.59.2",
"lockfileVersion": 2,
"requires": true,
"packages": {
"": {
"name": "trilium",
"version": "0.59.1",
"version": "0.59.2",
"hasInstallScript": true,
"license": "AGPL-3.0-only",
"dependencies": {

View file

@ -60,7 +60,7 @@ export default class SqlResultWidget extends NoteContextAwareWidget {
const $row = $("<tr>");
for (const key in result) {
$row.append($("<th>").html(key));
$row.append($("<th>").text(key));
}
$table.append($row);
@ -69,7 +69,7 @@ export default class SqlResultWidget extends NoteContextAwareWidget {
const $row = $("<tr>");
for (const key in result) {
$row.append($("<td>").html(result[key]));
$row.append($("<td>").text(result[key]));
}
$table.append($row);