HTMLHelperResolveUrls Method (String, String, Boolean) |
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
Syntaxpublic static string ResolveUrls(
string mHtml,
string applicationPath,
bool canResolveAllUrls
)
Parameters
- mHtml
- Type: SystemString
HTML code - applicationPath
- Type: SystemString
Application path - canResolveAllUrls
- Type: SystemBoolean
Determines whether resolving of all URL can be used
Return Value
Type:
String
See Also