HTMLHelperResolveUrls Method |
Resolves relative URLs in the given HTML(string).
Namespace: CMS.HelpersAssembly: CMS.Helpers (in CMS.Helpers.dll) Version: 13.0.131
Syntax public static string ResolveUrls(
string mHtml,
string applicationPath
)
Parameters
- mHtml
- Type: SystemString
HTML code - applicationPath
- Type: SystemString
Application path
Return Value
Type:
StringRemarks
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