diff --git a/Core/Formatter.cs b/Core/Formatter.cs index 40a3706..5b75728 100644 --- a/Core/Formatter.cs +++ b/Core/Formatter.cs @@ -1742,7 +1742,6 @@ namespace ScrewTurn.Wiki { } else if(targetUrl.Contains(":") || targetUrl.ToLowerInvariant().Contains("%3a") || targetUrl.Contains("&") || targetUrl.Contains("%26")) { sb.Append(@"FORMATTER ERROR ("":"" and ""&"" not supported in Page Names)"); - } else { // The link points to a wiki page @@ -2142,7 +2141,7 @@ namespace ScrewTurn.Wiki { private static string BuildTable(string table) { // Proceed line-by-line, ignoring the first and last one string[] lines = table.Split(new char[] { '\n' }, StringSplitOptions.RemoveEmptyEntries); - if(lines.Length < 3) { + if(lines.Length < 3) { return "FORMATTER ERROR (Malformed Table)"; } StringBuilder sb = new StringBuilder(); @@ -2524,10 +2523,8 @@ namespace ScrewTurn.Wiki { string formatterErrorString = @"FORMATTER ERROR (Transcluded inexistent page or this same page)"; sb.Insert(match.Index, formatterErrorString); sb.Insert(match.Index, match); - } - match = TransclusionRegex.Match(sb.ToString()); }