20240311-1
This commit is contained in:
parent
2a66cf7b61
commit
66b5f5741b
@ -1,4 +1,5 @@
|
||||
using anbs_cp.ForNet.Enums;
|
||||
|
||||
using Ganss.Xss;
|
||||
|
||||
namespace anbs_cp.ForNet.Classes;
|
||||
@ -45,7 +46,7 @@ public static class Sanitizer
|
||||
/// <param name="html">HTML-код</param>
|
||||
/// <param name="allowedHtml">Параметры очистки</param>
|
||||
/// <returns>Очищенный html-кода</returns>
|
||||
private static string SanitizeHtml(string html, SanitizerAllowedHtml allowedHtml)
|
||||
public static string SanitizeHtml (string html, SanitizerAllowedHtml allowedHtml)
|
||||
{
|
||||
// Создаю очиститель
|
||||
HtmlSanitizer sanitizer = new()
|
||||
|
@ -6,7 +6,7 @@
|
||||
<Nullable>enable</Nullable>
|
||||
<GeneratePackageOnBuild>True</GeneratePackageOnBuild>
|
||||
<PackageId>ANBSoftware.ComponentsPackForNet</PackageId>
|
||||
<Version>2024.3.11.0</Version>
|
||||
<Version>2024.3.11.1</Version>
|
||||
<Authors>Александр Бабаев</Authors>
|
||||
<Product>Набор компонентов ANB Software для ASP.NET Core</Product>
|
||||
<Description>Библиотека полезных методов языка C# для ASP.NET Core</Description>
|
||||
|
Loading…
x
Reference in New Issue
Block a user