Searches the provided html for absolute hrefs that match the provided aliases and converts them to relative urls
Namespace: DotNetNuke.Common.UtilitiesAssembly: DotNetNuke (in DotNetNuke.dll)
Syntax
C# |
---|
public static string AbsoluteToRelativeUrls( string html, IEnumerable<string> aliases ) |
Visual Basic |
---|
Public Shared Function AbsoluteToRelativeUrls ( html As String, aliases As IEnumerable(Of String) ) As String |
Parameters
- html
- Type: System..::..String
The input html
- aliases
- Type: System.Collections.Generic..::..IEnumerable<(Of <(<'String>)>)>
a list of aliases that should be made into relative urls