-
Notifications
You must be signed in to change notification settings - Fork 25
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
UTF8 encoded extra characters #35
Comments
Hi! Your issue is strange but when I copy & paste your second example to my terminal, I see a SOFT HYPHEN in the word "storage":
|
Hi, In fact, to see the UTF8 characters I pasted the string in Sublime text and changed the encoding. Didn't know about the uniscribe command (looks very useful !). So I probably pasted the second string from the UTF8 with the soft hyphen. I do have Hyphen in my configuration. I'll try to turn it off. Don't know why but it does apply to attributes... Thanks, Xavier |
If removing the Hyphen fixer from your configuration fix the issue, could you provide the full string you are passing to JoliTypo so I can look into it? JoliTypo does not modify attributes but a bug in the parsing / DomDocument can still happen. Thanks! |
Hi,
As a side note, uniscribe looks very powerful, but I didn't find a way to install it on my mac. Any hint ? Thanks, Xavier |
Thanks for the snippet, I will look into that and try to reproduce the issue. As for Uniscribe, it's a Ruby Gem, so you need to install Ruby first. See https://github.com/janlelis/uniscribe 👋 |
Ok so I tried to reproduce and I don't have unexpected hyphen on your sample string. I'm closing this for now, feel free to open a new issue if this problem affect you. Cheers |
Hi !
I'm using this library to save user provided content to a database (utf8mb4 encoded field). The content is added by the user to a textarea that is then converted from markdown text to html using the markdown-it library.
I've been struggling to find out why the images included in my html didn't show up in my browser when their urls seemed to be right. Here's what I found out :
So it seems that JoliTypo is adding UTF... characters in my content. Am I doing something wrong or is there a bug somewhere ?
Thanks,
Xavier
The text was updated successfully, but these errors were encountered: