HtmlExtensions.Linkify Method

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

Linkify(String, String)

Wraps an <a href=""></a> tag with the specified rel attribute around all urls in the text.

public static string Linkify(this string text, string rel = null)

Parameters

text
System.String
rel
System.String

Returns

System.String

A string with all urls wrapped in anchors.