fix(templateSync): при сравненни полного описания, добавлено удаление пробелов
This commit is contained in:
@@ -165,10 +165,11 @@ namespace PARR.EsppTemplateSync
|
|||||||
/// </summary>
|
/// </summary>
|
||||||
/// <param name="str"></param>
|
/// <param name="str"></param>
|
||||||
/// <returns></returns>
|
/// <returns></returns>
|
||||||
private string Sanitize(string str)
|
private string Normalize(string str)
|
||||||
{
|
{
|
||||||
str = str.Replace("\r", string.Empty);
|
str = str.Replace("\r", string.Empty);
|
||||||
str = str.Replace("\n", string.Empty);
|
str = str.Replace("\n", string.Empty);
|
||||||
|
str = str.Replace(" ", string.Empty);
|
||||||
|
|
||||||
return str;
|
return str;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user