diff --git a/CHANGELOG.md b/CHANGELOG.md index 91b88ec..29622d0 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,6 +3,7 @@ ## next ## * Fixed PukuiElbert source parsing of page breaks +* Fixed MamakaKaiao source parsing of page breaks ## v0.11 ## diff --git a/src/HawDict/Input/MamakaKaiaoInputDict.cs b/src/HawDict/Input/MamakaKaiaoInputDict.cs index 2a508a6..cae2a82 100644 --- a/src/HawDict/Input/MamakaKaiaoInputDict.cs +++ b/src/HawDict/Input/MamakaKaiaoInputDict.cs @@ -37,7 +37,7 @@ protected override string CleanSourceHtml(string s) s = s .Replace("spanclass", "span class") - .Replace("
\n
", "") + .Replace(" |
\n
", "")
.Replace("\n\n\n \n\n\n \n", " ") .Replace(" \n\n\n \n\n\n", " ")
.Replace("", "")
diff --git a/src/HawDict/Input/PlaceNamesInputDict.cs b/src/HawDict/Input/PlaceNamesInputDict.cs
index 58b1fff..444129d 100644
--- a/src/HawDict/Input/PlaceNamesInputDict.cs
+++ b/src/HawDict/Input/PlaceNamesInputDict.cs
@@ -27,7 +27,6 @@ protected override string CleanSourceHtml(string s)
{
s = Regex.Replace(s, " |