Add KJV translator footnotes package
This commit is contained in:
@@ -59,6 +59,11 @@ export function normalizeStrong(value) {
|
||||
|
||||
export function cleanUsfmText(input) {
|
||||
return input
|
||||
.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