diff --git a/src/managed/OpenLiveWriter.BlogClient/Clients/StaticSite/StaticSitePost.cs b/src/managed/OpenLiveWriter.BlogClient/Clients/StaticSite/StaticSitePost.cs index a90e46e7..4ef74dac 100644 --- a/src/managed/OpenLiveWriter.BlogClient/Clients/StaticSite/StaticSitePost.cs +++ b/src/managed/OpenLiveWriter.BlogClient/Clients/StaticSite/StaticSitePost.cs @@ -140,7 +140,7 @@ namespace OpenLiveWriter.BlogClient.Clients.StaticSite /// The current or new Slug. public string EnsureSafeSlug() { - if (_safeSlug == null || _safeSlug == string.Empty) Slug = GetNewSlug(BlogPost.Slug, safe: true); + if (_safeSlug == null || _safeSlug == string.Empty) Slug = FindNewSlug(BlogPost.Slug, safe: true); return Slug; } @@ -170,7 +170,7 @@ namespace OpenLiveWriter.BlogClient.Clients.StaticSite /// The text to base the preferred slug off of. default: post title /// Safe mode; if true the returned slug will not conflict with any existing file /// An on-disk slug for this post - private string GetNewSlug(string preferredSlug, bool safe) + public string FindNewSlug(string preferredSlug, bool safe) { // Try the filename without a duplicate identifier, then duplicate identifiers up until 999 before throwing an exception for(int i = 0; i < 1000; i++)