jzohrab / lute

DEPRECATED: LUTE (Learning Using Texts) is a self-hosted web app for learning language through reading, based on Learning with Texts (LWT)
The Unlicense
119 stars 10 forks source link

Remove double space from imported text #29

Closed jzohrab closed 1 year ago

jzohrab commented 1 year ago

Sometimes texts have two spaces, which then causes problems with multi-word terms not matching. Eg, "llevar [ ] [ ] a" will not match with "llevar [ ] a". Just regex replace space-space on import text.