Skip to content

Commit

Permalink
Fixed: (Cardigann) Bump to v8
Browse files Browse the repository at this point in the history
  • Loading branch information
mynameisbogdan authored and Qstick committed Jan 16, 2023
1 parent a11bd1c commit 1529527
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ public class IndexerDefinitionUpdateService : IIndexerDefinitionUpdateService, I
/* Update Service will fall back if version # does not exist for an indexer per Ta */

private const string DEFINITION_BRANCH = "master";
private const int DEFINITION_VERSION = 7;
private const int DEFINITION_VERSION = 8;

//Used when moving yml to C#
private readonly List<string> _defintionBlocklist = new List<string>()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Security.Cryptography;
using System.Net;
using System.Text;
using System.Text.RegularExpressions;
using AngleSharp.Dom;
Expand Down Expand Up @@ -680,6 +680,12 @@ protected string ApplyFilters(string data, List<FilterBlock> filters, Dictionary
case "urlencode":
data = data.UrlEncode(_encoding);
break;
case "htmldecode":
data = WebUtility.HtmlDecode(data);
break;
case "htmlencode":
data = WebUtility.HtmlEncode(data);
break;
case "timeago":
case "reltime":
data = DateTimeUtil.FromTimeAgo(data).ToString(DateTimeUtil.Rfc1123ZPattern);
Expand Down

0 comments on commit 1529527

Please sign in to comment.