Escape page title.

This commit is contained in:
Tom Hughes 2008-03-04 17:51:42 +00:00
parent a6089e5355
commit 2a061fb5a9

View file

@ -7,7 +7,7 @@
<%= stylesheet_link_tag 'site' %>
<%= stylesheet_link_tag 'print', :media => "print" %>
<%= tag("link", { :rel => "search", :type => "application/opensearchdescription+xml", :title => "OpenStreetMap Search", :href => "/opensearch/osm.xml" }) %>
<title>OpenStreetMap<%= ' | '+@title if @title %></title>
<title>OpenStreetMap<%= ' | '+ h(@title) if @title %></title>
</head>
<body>
<div id="content">