Core: Fix comment typo.
Navigation: When choosing the title, it is unnecessary to escape entities, since the result will be assigned to document.title (which can presumably accept an unencoded string). Fixes #5749.
Unit tests: Test for #5749 - check if HTML entities end up in the document title.