Fix: use textContent instead of inntertext, fixes tests
This commit is contained in:
parent
17e95ca594
commit
591e992839
1 changed files with 1 additions and 1 deletions
|
@ -33,7 +33,7 @@ export default class TitleHandler {
|
|||
const title = Utils.SubstituteKeys(titleUnsubbed, tags)
|
||||
const el = document.createElement("span")
|
||||
el.innerHTML = title
|
||||
return el.innerText + " | " + defaultTitle
|
||||
return el.textContent + " | " + defaultTitle
|
||||
|
||||
},
|
||||
[Locale.language]
|
||||
|
|
Loading…
Reference in a new issue