Update wikimake.cs

This commit is contained in:
Madpeterz 2021-02-09 20:20:17 +00:00
parent e36c2ffe60
commit 74aee5e587

View file

@ -407,7 +407,7 @@ namespace BetterSecondBot.WikiMake
sb.Replace("[[AREA]]", area); sb.Replace("[[AREA]]", area);
sb.Replace("[[SUBFOLDER]]", ""); sb.Replace("[[SUBFOLDER]]", "");
sb.Replace("[[RETURNROOT]]", "../"); sb.Replace("[[RETURNROOT]]", "../");
string target_file = "" + area + "" + workspace + "" + c + ".html"; string target_file = "" + area + "" + workspace + "" + c.ToLowerInvariant() + ".html";
io.writefile(target_file, sb.ToString()); io.writefile(target_file, sb.ToString());
} }
} }
@ -466,7 +466,7 @@ namespace BetterSecondBot.WikiMake
int args = HTTP.getCommandArgCount(workspace, c); int args = HTTP.getCommandArgCount(workspace, c);
sb.Append("<tr><td><a href='[[AREA]]"); sb.Append("<tr><td><a href='[[AREA]]");
sb.Append(workspace); sb.Append(workspace);
sb.Append(c); sb.Append(c.ToLowerInvariant());
sb.Append(".html'>"); sb.Append(".html'>");
sb.Append(c); sb.Append(c);
sb.Append("</a></td><td>"); sb.Append("</a></td><td>");