From: bep <bjorn.erik.pedersen@gmail.com>
Date: Wed, 18 Mar 2015 20:27:29 +0000 (+0100)
Subject: Change safeHTtml to safeHTML in sitemap template
X-Git-Tag: v0.14~175
X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=efb56477;p=brevno-suite%2Fhugo

Change safeHTtml to safeHTML in sitemap template
---

diff --git a/hugolib/sitemap_test.go b/hugolib/sitemap_test.go
index c51ad06d..0342e226 100644
--- a/hugolib/sitemap_test.go
+++ b/hugolib/sitemap_test.go
@@ -15,7 +15,7 @@ const SITEMAP_TEMPLATE = `<urlset xmlns="http://www.sitemaps.org/schemas/sitemap
   {{ range .Data.Pages }}
   <url>
     <loc>{{ .Permalink }}</loc>
-    <lastmod>{{ safeHtml ( .Date.Format "2006-01-02T15:04:05-07:00" ) }}</lastmod>{{ with .Sitemap.ChangeFreq }}
+    <lastmod>{{ safeHTML ( .Date.Format "2006-01-02T15:04:05-07:00" ) }}</lastmod>{{ with .Sitemap.ChangeFreq }}
     <changefreq>{{ . }}</changefreq>{{ end }}{{ if ge .Sitemap.Priority 0.0 }}
     <priority>{{ .Sitemap.Priority }}</priority>{{ end }}
   </url>