Revert "escape title HTML in web view. Issue #722"

This reverts commit a087410177c0a90cf422cb61ee302a6de2e483ee.
This commit is contained in:
Maurice Parker 2019-06-12 10:51:15 -05:00
parent d68cbac51e
commit e4ee311227

View File

@ -86,11 +86,10 @@ private extension ArticleRenderer {
}
func titleOrTitleLink() -> String {
let escapedTitle = title.escapeHTML()
if let link = article?.preferredLink {
return escapedTitle.htmlByAddingLink(link)
return title.htmlByAddingLink(link)
}
return escapedTitle
return title
}
func substitutions() -> [String: String] {