I am using this plugin from a few months and from the last three months, I am facing a double hyphen problem in content with this plugin.
I also found a similar topic on Google here it is: https://wordpress.stackexchange.com/questions/17633/single-dash-converted-to-double-dash
The double dash in the content is Automatically creating through the Wp Lyte plugin filter.
I found the function in the .php file of this plugin which is creating this problem.
Here is the function: the_content
Check this link for an example: https://bit.ly/2VWdnW8 of the double dash.
When I am typing single – at the backend through the editor, then a single dash is automatically converting into the double dash at the front end.
When I disabled the Wp Lyte plugin then the dash problem gets automatically fixed.
Please do check the code problem in the plugin and fix the issue as soon as possible.
Due to this error, the Table of the content plugin also not able to show the content in the articles.
Please have a look at it and reply to this thread for any query.
]]>[zotpressInText item=”{VIDPGCC7}”]
[zotpressInTextBib]
It works fine with Firefox, Edge and IE, but throws a javascript error with Safari:
“jquery.js?ver=1.12.4-wp:2 Uncaught Error: Syntax error, unrecognized expression: unsupported pseudo: VIDPGCC7–22045-1”
]]>$dynamic[ '/---/' ] = $em_dash;
$dynamic[ '/(?<=' . $spaces . ')--(?=' . $spaces . ')/' ] = $em_dash;
$dynamic[ '/(?<!xn)--/' ] = $en_dash;
$dynamic[ '/(?<=' . $spaces . ')-(?=' . $spaces . ')/' ] = $en_dash;
But on first wp update, I will lose this
]]>But upgraded to 3.3 has changed them all back and repeating the fix has no effect. Can anyone offer help?
Thanks,
Muntrem
]]>Is there any way of disabling this?
When I try to google the issue all I can find is a similar problem where ‘–‘ is converted to an em dash.
]]>