mirror of
https://github.com/zadam/trilium.git
synced 2025-11-07 05:46:10 +01:00
fix escaping in sql console results
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user