Bug 1263174 - fix hostname insertion in SSL error pages, r?past
MozReview-Commit-ID: E9zaJGUHUNw
--- a/browser/base/content/aboutNetError.xhtml
+++ b/browser/base/content/aboutNetError.xhtml
@@ -236,17 +236,17 @@
title.parentNode.replaceChild(errTitle, title);
// change id to the replaced child's id so styling works
errTitle.id = "errorTitleText";
}
var sd = document.getElementById("errorShortDescText");
if (sd) {
if (gIsCertError) {
- sd.textContent = document.getElementById("ed_nssBadCert").textContent;
+ sd.innerHTML = document.getElementById("ed_nssBadCert").innerHTML;
}
else {
sd.textContent = getDescription();
}
}
if (gIsCertError) {
initPageCertError();
return;