committing latest MLMStripper
This commit is contained in:
Binary file not shown.
@@ -96,6 +96,11 @@ namespace MLMStripper
|
|||||||
contents.Add("end:");
|
contents.Add("end:");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
static string CleanLineByLine(string Line)
|
||||||
|
{
|
||||||
|
return Line.Replace("{{{SINGLE-QUOTE}}}","'");
|
||||||
|
}
|
||||||
|
|
||||||
static void WriteOutFile()
|
static void WriteOutFile()
|
||||||
{
|
{
|
||||||
|
|
||||||
@@ -118,7 +123,7 @@ namespace MLMStripper
|
|||||||
using (IO.StreamWriter sw = new IO.StreamWriter(fs, Encoding.UTF8))
|
using (IO.StreamWriter sw = new IO.StreamWriter(fs, Encoding.UTF8))
|
||||||
{
|
{
|
||||||
foreach (string line in ReadInLines)
|
foreach (string line in ReadInLines)
|
||||||
sw.WriteLine(line);
|
sw.WriteLine(CleanLineByLine(line));
|
||||||
sw.Flush();
|
sw.Flush();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user