HTMLHelperUnResolveUrls Method |
Unresolves relative URI if used in "src=" or "href=" or "background=" or "url(".
Namespace: CMS.HelpersAssembly: CMS.Helpers (in CMS.Helpers.dll) Version: 12.0.0
Syntax 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:
StringSee Also