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