Click or drag to resize
HTMLHelperResolveUrls Method
Resolves relative URLs in the given HTML(string).

Namespace: CMS.Helpers
Assembly: CMS.Helpers (in CMS.Helpers.dll) Version: 13.0.131
Syntax
C#
public static string ResolveUrls(
	string mHtml,
	string applicationPath
)

Parameters

mHtml
Type: SystemString
HTML code
applicationPath
Type: SystemString
Application path

Return Value

Type: String
Remarks
In the live site it resolves all URLs ("~/"). In the administration interface only URLs in "src", "href", "poster", "srcset" attributes and "url()" CSS function are resolved.
See Also