HTMLHelperResolveUrls Method (String, String) |
Resolves relative URLs in given HTML(string).
If CMSResolveAllUrls application settings is true it resolves all URLs.
Otherwise it resolves URLs used in "src" or "href" or "background" attributes.
Namespace: CMS.HelpersAssembly: CMS.Helpers (in CMS.Helpers.dll) Version: 9.0.0
Syntax public static string ResolveUrls(
string mHtml,
string applicationPath
)
Parameters
- mHtml
- Type: SystemString
HTML code - applicationPath
- Type: SystemString
Application path
Return Value
Type:
StringSee Also