HugoFara / lwt

Learn languages by reading! A language learning app stemmed from Learning with Texts (LWT).
https://hugofara.github.io/lwt/
The Unlicense
168 stars 19 forks source link

Incorrect text formating with punctuation signs #125

Open HenryWales opened 1 year ago

HenryWales commented 1 year ago

Some punctuation signs are expected to "stick" to the word they touch, like the point at the end of the sentence, comas or quotations marks.

Because they are put in separate "span" elements, they don't stick and stuff like a coma or point alone with nothing before starting a line, or a quotation mark with nothing after finishing a line happen.

I don't know how LWT original handled this but I don't remember this issue there.

HugoFara commented 1 year ago

I may check it out a bit latter, I'm not sure how troublesome it will be to fix.