Occurs when using views 7.x-3.3 and taxonomy terms as contextual filters and using the arguments (%1) to rewrite the page title. I wrapped the view->get_title in a html_entity_decode() call to fix it.

This is my first patch, so let me know if I didn't submit it correctly, but I think I did everything correct.

CommentFileSizeAuthor
tvi-views title encoding.patch644 bytesadamzimmermann

Comments

drshearer’s picture

Just had the exact same issue and the patch fixed it for me. Thanks!

proofoftom’s picture

Had same issue using TVI 7.x-1.0-alpha2 and Views 7.x-3.5. Your patch worked as expected. Thanks mate.

markhalliwell’s picture

Status: Needs review » Closed (duplicate)

Dup of #1817570: Page titles are santitized, double encoding HTML entities (& to &) (has a proper Drupal patch: uses filter_xss_admin() instead of html_entity_decode()).