Click or drag to resize
HTMLHelperUnResolveUrls Method
Unresolves relative URI if used in "src=" or "href=" or "background=" or "url(".

Namespace: CMS.Helpers
Assembly: CMS.Helpers (in CMS.Helpers.dll) Version: 12.0.0
Syntax
C#
public static string UnResolveUrls(
	string mHtml,
	string applicationPath,
	Func<string, string> pathModifier = null
)

Parameters

mHtml
Type: SystemString
HTML code.
applicationPath
Type: SystemString
Application path.
pathModifier (Optional)
Type: SystemFuncString, String
Method that is called after each of the local path is unresolved. Input parameter format: "~/relativePath?query=.."

Return Value

Type: String
See Also