From 3058d8d35981894db47a6b854912c3c5722ab1de Mon Sep 17 00:00:00 2001 From: Eric Rasmussen Date: Fri, 7 Jun 2013 10:58:37 -0500 Subject: [PATCH] [gh-732] Use ndash in title tag rather than actual character --- color/preview.html | 4 ++-- template.php | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/color/preview.html b/color/preview.html index 3d1cf3f..9ad8510 100644 --- a/color/preview.html +++ b/color/preview.html @@ -36,8 +36,8 @@

Lorem ipsum dolor

- \ No newline at end of file + diff --git a/template.php b/template.php index 2e623a2..5321c00 100644 --- a/template.php +++ b/template.php @@ -197,12 +197,12 @@ function unl_wdn_preprocess_html(&$vars, $hook) { } if (!module_exists('metatag')) { - // Set the tag to UNL format: Page Title | Site Name | University of Nebraska–Lincoln + // Set the <title> tag to UNL format: Page Title | Site Name | University of Nebraska–Lincoln if ($vars['is_front']) { unset($vars['head_title_array']['title']); } - 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')); + 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'] = implode(' | ', $vars['head_title_array']); }