Klimaat-Helpdesk / website

Code behind https://www.klimaathelpdesk.org/
GNU General Public License v3.0
5 stars 5 forks source link

no wrapping for certain type of character set #67

Closed SanliFaez closed 3 years ago

SanliFaez commented 3 years ago

for one of the answers, there was a strange type of hidden character (possibly a space!) that prevented correct wrapping of the paragraphs. is there a way to issue a warning or check what causes such a problem?

Screenshot 2020-11-15 at 12 21 00

SanliFaez commented 3 years ago

interestingly, there was no problem with the abstract, even though that also used the same charset.

aquilesC commented 3 years ago

How can you reproduce this? Or what steps lead to it? It is very strange...

SanliFaez commented 3 years ago

the strange character sits in this text. https://gitlab.com/s4fnl/climate-facts/-/issues/57#note_435562993 I copied it to a text editor and changed encoding to ascii and back to unicode. then it was solved. but also killed a lot of special characters, which was a pity

aquilesC commented 3 years ago

I checked adding the ë to financiële and it seems it does not break the layout. I can't really tell what caused the issue, tried copy/pasting into a new article and couldn't reproduce the issue, so it is very strange.

My only guess is that perhaps the line/endings got messed up? Could you reproduce the error and leave it as a draft so I can take a look at what is going on?

aquilesC commented 3 years ago

I am closing this since the error didn't appear again. Did a check to the encoding and everything looks fine. If the error pups up again, feel free to reopen.