[web-devel] [Yesod][Sitemap][bug] wrong translation from yesod 0.6.7 to 0.7.*

Katsutoshi Itoh cutsea110 at gmail.com
Sun Feb 20 16:45:59 CET 2011


hi,

just now, i found a bug in yesod-sitemap-0.0.0(and HEAD), when i try
translate my application to 0.7.1.

--------------------------
diff --git a/Yesod/Helpers/Sitemap.hs b/Yesod/Helpers/Sitemap.hs
index 05debf5..60562bc 100644
--- a/Yesod/Helpers/Sitemap.hs
+++ b/Yesod/Helpers/Sitemap.hs
@@ -61,7 +61,6 @@ template urls =
 #else
                 [$xhamlet|
 #endif
-<div id="endif">
 <urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
     $forall url <- urls
         <url>
-----------------------------

regards.



More information about the web-devel mailing list