From 3f30bc53f543e13221ba0b7c52284865f9593107 Mon Sep 17 00:00:00 2001 From: Paul Gillard Date: Tue, 10 Feb 2009 22:42:45 +0000 Subject: [PATCH 1/1] Ensure homepage source validates. --- app/views/layouts/site.rhtml | 10 +++++----- app/views/site/_key.rhtml | 2 +- app/views/site/_search.rhtml | 6 +++--- app/views/site/index.rhtml | 20 +++++++++----------- config/database.yml | 2 +- config/environments/development.rb | 4 +++- config/initializers/libxml.rb | 4 +--- 7 files changed, 23 insertions(+), 25 deletions(-) diff --git a/app/views/layouts/site.rhtml b/app/views/layouts/site.rhtml index 76b5a4337..7e224b4c6 100644 --- a/app/views/layouts/site.rhtml +++ b/app/views/layouts/site.rhtml @@ -68,11 +68,11 @@ <% unless @user %>
- OpenStreetMap is a free editable map of the whole world. It is made by people like you. -

- OpenStreetMap allows you to view, edit and use geographical data in a collaborative way from anywhere on Earth. -

- OpenStreetMap's hosting is kindly supported by the UCL VR Centre and bytemark. +

OpenStreetMap is a free editable map of the whole world. It is made by people like you.

+

OpenStreetMap allows you to view, edit and use geographical data in a collaborative way from anywhere on Earth.

+

+ OpenStreetMap's hosting is kindly supported by the UCL VR Centre and bytemark. +

<% end %> diff --git a/app/views/site/_key.rhtml b/app/views/site/_key.rhtml index 643099498..c632f1661 100644 --- a/app/views/site/_key.rhtml +++ b/app/views/site/_key.rhtml @@ -11,7 +11,7 @@ else if (zoomlevel<13) { var imgname = 'keymapnik'+zoomlevel+'.png'; } else { var imgname = 'keymapnik13.png'; } - updateSidebar("Map key", "

"); + updateSidebar("Map key", "

<\/p>"); openSidebar({ width: "210px" }); } diff --git a/app/views/site/_search.rhtml b/app/views/site/_search.rhtml index 5b4e74b34..6ddcc851c 100644 --- a/app/views/site/_search.rhtml +++ b/app/views/site/_search.rhtml @@ -1,7 +1,7 @@