Click or drag to resize
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.Helpers
Assembly: CMS.Helpers (in CMS.Helpers.dll) Version: 8.2.23
Syntax
C#
public 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