Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Section Compiler: Odd auto-correct in title field #140

Open
twinkietoes-on opened this issue Sep 28, 2022 · 0 comments
Open

Section Compiler: Odd auto-correct in title field #140

twinkietoes-on opened this issue Sep 28, 2022 · 0 comments

Comments

@twinkietoes-on
Copy link
Collaborator

twinkietoes-on commented Sep 28, 2022

User types "Chapter VII: The Val sanz Retor" into the title field.
The code auto corrects it, removing the space between "The" and "Val".
It only occurs when there is a word after "Val". Capitalization doesn't matter.

  1. the val: works fine, the space stays
  2. the val with any word after: space vanishes
  3. the vall or vale with any word after: space stays
  4. a val with words: the space stays

"Looking this up in javascript, it appears that theval means the value. So it appears that perhaps the coding in the section compiler is interpreting "the val" to be a mistype of "theval" and doing an autocorrect."

EDIT: It appears to autocorrect and remove the space with the first word being any word that ends in E, not just "The".

Discussion in the admin-only forum starting here: https://forum.librivox.org/viewtopic.php?p=2101654#p2101654

Low priority; it's rare for that exact letter combination to occur in section titles.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants