Compare commits

..

No commits in common. "54082a82f1b4d88dca00a6b53c98a63ef444b677" and "d9aae8fe956644f63fac6f1201285a8a5a8573c9" have entirely different histories.

4 changed files with 6 additions and 16 deletions

View File

@ -1,3 +1,3 @@
dot rbom -w dot rm-bom
dot trim -w dot rm-blank
dot tolf -w dot tolf

View File

@ -518,16 +518,6 @@ public static class StringExtensions
.ToLower(CultureInfo.CurrentCulture); .ToLower(CultureInfo.CurrentCulture);
} }
/// <summary>
/// 纯文本字符串转html
/// </summary>
/// <param name="me"></param>
/// <returns></returns>
public static string Text2Html(this string me)
{
return me.Replace(" ", "&nbsp;").Replace("\r\n", "<br />").Replace("\r", "<br />").Replace("\n", "<br />");
}
/// <summary> /// <summary>
/// 蛇形命名 /// 蛇形命名

View File

@ -3,7 +3,7 @@
<PropertyGroup> <PropertyGroup>
<TargetFrameworks>net6.0;net7.0</TargetFrameworks> <TargetFrameworks>net6.0;net7.0</TargetFrameworks>
<ImplicitUsings>enable</ImplicitUsings> <ImplicitUsings>enable</ImplicitUsings>
<Version>1.0.8</Version> <Version>1.0.7</Version>
</PropertyGroup> </PropertyGroup>
<ItemGroup> <ItemGroup>