HtmlExtensions.ToAbsoluteUrls Method

Namespace:
Weavy.Core.Helpers
Assembly:
Weavy.Core.dll

ToAbsoluteUrls(String, String)

Converts all relative urls within the provided html string to absolute urls.

public static string ToAbsoluteUrls(this string html, string baseurl = null)

Parameters

html
System.String
baseurl
System.String

Returns

System.String

A string with all relative urls converted to absolute urls.