Skip to content
Permalink
Browse files

Don't localize Sitemap priority

  • Loading branch information...
mythz committed Jun 22, 2016
1 parent f17de74 commit 40277bfa00df759db7223a87fa08076655a03605
Showing with 2 additions and 1 deletion.
  1. +2 −1 src/ServiceStack/SitemapFeature.cs
@@ -1,5 +1,6 @@
using System;
using System.Collections.Generic;
using System.Globalization;
using System.Text;
using ServiceStack.Host.Handlers;
using ServiceStack.Text;
@@ -212,7 +213,7 @@ public override void ProcessRequest(IRequest httpReq, IResponse httpRes, string
if (url.ChangeFrequency != null)
xml.AppendLine(" <changefreq>{0}</changefreq>".Fmt(url.ChangeFrequency.Value.ToString().ToLower()));
if (url.Priority != null)
xml.AppendLine(" <priority>{0}</priority>".Fmt(url.Priority));
xml.AppendLine(" <priority>{0}</priority>".Fmt(url.Priority.Value.ToString(CultureInfo.InvariantCulture)));

if (url.CustomXml != null)
xml.AppendLine(url.CustomXml);

0 comments on commit 40277bf

Please sign in to comment.
You can’t perform that action at this time.