Add ASV translation package
This commit is contained in:
+12
-1
@@ -59,11 +59,22 @@ export function normalizeStrong(value) {
|
||||
|
||||
export function cleanUsfmText(input) {
|
||||
return input
|
||||
.replace(/…/g, '...')
|
||||
.replace(/…/g, '...')
|
||||
.replace(/…/g, '...')
|
||||
.replace(/’/g, "'")
|
||||
.replace(/’/g, "'")
|
||||
.replace(/’/g, "'")
|
||||
.replace(/‘/g, "'")
|
||||
.replace(/“/g, '"')
|
||||
.replace(/â€Â/g, '"')
|
||||
.replace(/“/g, '"')
|
||||
.replace(/â€/g, '"')
|
||||
.replace(/“/g, '"')
|
||||
.replace(/”/g, '"')
|
||||
.replace(/—/g, '-')
|
||||
.replace(/–/g, '-')
|
||||
.replace(/—/g, '-')
|
||||
.replace(/–/g, '-')
|
||||
.replace(/\\f [\s\S]*?\\f\*/g, '')
|
||||
.replace(/\\x [\s\S]*?\\x\*/g, '')
|
||||
.replace(/\\add\s+([^\\]+)\\add\*/g, '$1')
|
||||
|
||||
Reference in New Issue
Block a user