From 20bc9a9404db84d9f1a3c5012b6372410fd20552 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20De=20Loor=20=E2=98=95?= Date: Tue, 29 Jan 2019 18:26:30 +0100 Subject: [PATCH] [fix] Glass.Mapper.Sc.Utilities: use 'Append' since the string is formatted via a own extension method. --- Source/Glass.Mapper.Sc/Utilities.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/Glass.Mapper.Sc/Utilities.cs b/Source/Glass.Mapper.Sc/Utilities.cs index f615200fd..15fae7ba8 100644 --- a/Source/Glass.Mapper.Sc/Utilities.cs +++ b/Source/Glass.Mapper.Sc/Utilities.cs @@ -74,7 +74,7 @@ public static string ConvertAttributes(SafeDictionary attributes, string StringBuilder sb = new StringBuilder(); foreach (var pair in attributes) { - sb.AppendFormat("{0}={2}{1}{2} ".Formatted(pair.Key, pair.Value ??"", quotationMark)); + sb.Append("{0}={2}{1}{2} ".Formatted(pair.Key, pair.Value ??"", quotationMark)); } return sb.ToString();