Sorry for the long delay in answering Vistawide,
I’m not sure I understand what the problem is. Could you explain what your desired behavior would be?
@osdwebdev
It is the filter wptexturize that is supposed to make a text more beautiful, but often causes problems, especially with foreign languages. I had the same problem with french language and I removed the filter.
@vistawide
Add this in your functions.php:
//TEXTURIZE (remove)
remove_filter('the_title', 'wptexturize');
remove_filter('the_content', 'wptexturize');
remove_filter('the_excerpt', 'wptexturize');
remove_filter('comment_text', 'wptexturize');
-
This reply was modified 9 years, 5 months ago by
Georgio.
@georgio-1
Thank you for your response. Yes, wptexturize can definitely mess things up.
@vistawide
The solution Georgio provided should work. Just be aware that this will remove wptexturize from your whole site. This may or may not be an issue.
@georgio-1 Removing wptexturize worked like a charm, I only removed it from the title and it was enough to stop sharing from not working properly, so altogether not too bad of a compromise to make.
Thanks!