1

Merge pull request #36 from 0x766F6964/update_daijisen

Update daijisen
This commit is contained in:
Alexei Yatskov 2022-08-01 19:34:03 -07:00 committed by GitHub
commit b5d6095c06
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 1466 additions and 68 deletions

File diff suppressed because it is too large Load Diff

View File

@ -69,6 +69,8 @@ func epwingExportDb(inputPath, outputPath, language, title string, stride int, p
str = strings.Replace(str, matches[0], replacement, -1) str = strings.Replace(str, matches[0], replacement, -1)
} }
pattern := regexp.MustCompile("\n+")
str = pattern.ReplaceAllLiteralString(str, "\n")
return str return str
} }