diff --git a/WebfrontCore/Views/About/Index.cshtml b/WebfrontCore/Views/About/Index.cshtml index bf75c46e..1031bb74 100644 --- a/WebfrontCore/Views/About/Index.cshtml +++ b/WebfrontCore/Views/About/Index.cshtml @@ -1,4 +1,5 @@ @using SharedLibraryCore.Configuration +@using System.Text.RegularExpressions @model WebfrontCore.ViewModels.CommunityInfo @{ IEnumerable> allRules = new[] {new KeyValuePair<(string, long), string[]>((ViewBag.Localization["WEBFRONT_ABOUT_GLOBAL_RULES"], 0), Model.GlobalRules)}; @@ -71,7 +72,10 @@ @foreach (var rule in rules) {
- @start. + @if (!rule.StartsWith("#") && !Regex.IsMatch(rule, @"^\d+(.|\))")) + { + @start. + }
start++;