diff --git a/MoaiUtils/DocExport/Exporters/ZeroBraneExporter.cs b/MoaiUtils/DocExport/Exporters/ZeroBraneExporter.cs
index 1a51fc6..54de67c 100644
--- a/MoaiUtils/DocExport/Exporters/ZeroBraneExporter.cs
+++ b/MoaiUtils/DocExport/Exporters/ZeroBraneExporter.cs
@@ -2,7 +2,6 @@
using System.IO;
using System.Linq;
using System.Text;
-using System.Text.RegularExpressions;
using MoaiUtils.LuaIO;
using MoaiUtils.MoaiParsing;
using MoaiUtils.MoaiParsing.CodeGraph;
@@ -142,13 +141,9 @@ private static void AppendParameterInfo(StringBuilder result, Parameter paramete
}
}
- private static readonly Regex newlineRegex = new Regex(@"\r\n?|\n", RegexOptions.Compiled);
-
- // For whatever reason, ZeroBrane expects line breaks to be marked with "
".
- // It doesn't understand any other HTML, though.
private static string ConvertString(string s) {
if (s == null) return null;
- return newlineRegex.Replace(s, "
");
+ return s.Replace("\r", string.Empty);
}
}
}
\ No newline at end of file
diff --git a/MoaiUtils/MoaiUtils.sln b/MoaiUtils/MoaiUtils.sln
index 9304aee..7b4a9b4 100644
--- a/MoaiUtils/MoaiUtils.sln
+++ b/MoaiUtils/MoaiUtils.sln
@@ -49,7 +49,4 @@ Global
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
- GlobalSection(Performance) = preSolution
- HasPerformanceSessions = true
- EndGlobalSection
EndGlobal