Don't escape markup sensitive characters in <title> (#5788)

This commit is contained in:
Maja Komel 2020-03-11 17:10:44 +01:00 committed by GitHub
parent 5a9cf514d1
commit 0ee7b2fe2f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -10,7 +10,7 @@
<% if @shell %>
<script defer>
if (!document.title) {
document.title = document.getElementsByTagName("TITLE")[1].innerHTML
document.title = document.getElementsByTagName("TITLE")[1].textContent
}
</script>
<% end %>