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