Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Browser title update for Ajax links (issue 581) improperly escapes HTML entities #1447
This seems to be a problem with the feature added to A4 in this issue:
If the ajax-retrieved page has a "title" tag in the header whose text contains an HTML entity (of the form ampersand-something-something-semicolon) then when the browser title is updated it shows the literal entity (the HTML source) rather than the translated character, implying that the ampersand/semicolon are being escaped.
The same problem does not seem to occur if a "data-title" attribute is provided on a "page" div.
When you click on that link for the first time, the new page title shows: "Communiqu& eacute;s".
Reproduced on both iphone4 and Chrome - character encoding: utf-8 defined in meta of both pages.