Line breaks in site name but not in title tag For design purposes I need line breaks in a multilingual site name. I have managed to do so by adding &lt;br /&gt; tags in the site name variable. But they show in the title within the html head tag and I don't know how to get rid of them.

I am using a custom Zen subtheme to which I have added the html.tpl.php file. In that I have tried the following approaches to no avail:

&lt;title&gt;&lt;?php print preg_replace('/&lt;br \/&gt;/iU', '', $head_title); ?&gt;&lt;/title&gt;

&lt;title&gt;&lt;?php print strip_tags($head_title); ?&gt;&lt;/title&gt;

&lt;title&gt;&lt;?php $head_title = str_replace('&lt;br /&gt;', '', $head_title);
  print $head_title; ?&gt;&lt;/title&gt;


Please excuse any profanities I may have committed in the use of php, I am no coder. Any ideas are most welcome.
Here is what I just found: There is no tags in the title, it's just a string. So the fix is quite simple.

in the html.tpl.php replace:

&lt;title&gt;&lt;?php print $head_title ?&gt;&lt;/title&gt;


With this:

&lt;title&gt;&lt;?php 
$break_tag = array("&amp;lt;br /&amp;gt;");
$simple_space = array(" ");
$new_head_title = str_replace($break_tag, $simple_space, $head_title);
print $new_head_title;
?&gt;&lt;/title&gt;


Hope it helps.