Skip to content

Commit

Permalink
GetSearchableText method should replace HTML with new line instead of…
Browse files Browse the repository at this point in the history
… an empty string (fixes #25)
  • Loading branch information
abjerner committed Jun 3, 2020
1 parent 14a1fac commit 5fb9267
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ protected GridControlHtmlValue(GridControl control, JToken token) : base(control
/// </summary>
/// <returns>An instance of <see cref="System.String"/> with the value as a searchable text.</returns>
public override string GetSearchableText() {
return Regex.Replace(Value, "<.*?>", "") + Environment.NewLine;
return Regex.Replace(Value, "<.*?>", Environment.NewLine) + Environment.NewLine;
}

/// <summary>
Expand Down

0 comments on commit 5fb9267

Please sign in to comment.