fix: html tags removed in log viewer
This commit is contained in:
parent
49656aa1ed
commit
a64e1b579b
2 changed files with 2 additions and 2 deletions
|
|
@ -144,7 +144,7 @@
|
||||||
if (matches && query) count++;
|
if (matches && query) count++;
|
||||||
|
|
||||||
if (textSpan) {
|
if (textSpan) {
|
||||||
const originalText = this.decodeHtml(textSpan.dataset.lineText || '');
|
const originalText = textSpan.dataset.lineText || '';
|
||||||
if (!query) {
|
if (!query) {
|
||||||
textSpan.textContent = originalText;
|
textSpan.textContent = originalText;
|
||||||
} else if (matches) {
|
} else if (matches) {
|
||||||
|
|
|
||||||
|
|
@ -163,7 +163,7 @@
|
||||||
|
|
||||||
// Update highlighting
|
// Update highlighting
|
||||||
if (textSpan) {
|
if (textSpan) {
|
||||||
const originalText = this.decodeHtml(textSpan.dataset.lineText || '');
|
const originalText = textSpan.dataset.lineText || '';
|
||||||
if (!query) {
|
if (!query) {
|
||||||
textSpan.textContent = originalText;
|
textSpan.textContent = originalText;
|
||||||
} else if (matches) {
|
} else if (matches) {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue