Permalink
Browse files

Fix for #1447 - create element and read text from there to unescape e…

…ntities in page title
  • Loading branch information...
1 parent cdf1d2c commit d7d52544e7245e631eb815cb9f445208a0476e57 @garann garann committed Nov 4, 2011
Showing with 3 additions and 0 deletions.
  1. +3 −0 js/jquery.mobile.navigation.js
@@ -848,6 +848,9 @@
}
if ( newPageTitle && !page.jqmData( "title" ) ) {
+ if ( newPageTitle.indexOf( "&" ) ) {
+ newPageTitle = $( "<div>" + newPageTitle + "</div>" ).text();
+ }
page.jqmData( "title", newPageTitle );
}

0 comments on commit d7d5254

Please sign in to comment.