C# Class ToSic.Razor.Blade.Tags

Show file Open project: 2sic/razor-blade

Public Methods

Method Description
SafeUrl ( string url ) : System.Web.HtmlString

Convert URLs into a safe format, to properly escape spaces, umlauts, etc. Important for images etc. which may have special characters

Method Details

SafeUrl() public static method

Convert URLs into a safe format, to properly escape spaces, umlauts, etc. Important for images etc. which may have special characters
public static SafeUrl ( string url ) : System.Web.HtmlString
url string
return System.Web.HtmlString