From c4589ff2427dd12f28bb65c4a50e83a829cb6b21 Mon Sep 17 00:00:00 2001 From: Eric Rasmussen <ericrasmussen1@gmail.com> Date: Thu, 31 May 2012 15:36:22 -0500 Subject: [PATCH] [gh-393] Don't use check_plain on title tag Special characters like & are ending up double encoded as &amp; since UNL templates pear package already takes care of it --- sites/all/themes/unl_wdn/template.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sites/all/themes/unl_wdn/template.php b/sites/all/themes/unl_wdn/template.php index c1638ca6..1095a8b6 100644 --- a/sites/all/themes/unl_wdn/template.php +++ b/sites/all/themes/unl_wdn/template.php @@ -75,7 +75,7 @@ function unl_wdn_preprocess_html(&$vars, $hook) { if (variable_get('site_name') != 'University of Nebraska–Lincoln') { $vars['head_title_array'] = array_merge($vars['head_title_array'], array('UNL' => 'University of Nebraska–Lincoln')); } - $vars['head_title'] = check_plain(implode(' | ', $vars['head_title_array'])); + $vars['head_title'] = implode(' | ', $vars['head_title_array']); } /** -- GitLab