-
Notifications
You must be signed in to change notification settings - Fork 77
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
> getting transformed to > #159
Comments
Looks like this is a duplicate of #108 I haven't been able to reproduce this, so there is something we're missing here. A few questions:
|
I am using Block Editor, as I was putting xml in the block so the language is set to HTML/XML and no other settings apart from that. |
Though I might sound illogical but I am no longer facing the issue, I have done no version upgrade,not a single change but it is working now. Yesterday I installed the plugin for the first time and when i faced the issue I tried all possible ways to correct it but it didn;t work, 12 hours after that it started working. |
It's better to close this issue at this point, since it is not a reproducible bug. But comments will still be open, and the issue can be reopened if the bug comes up again, so please feel free to give any new information if that happens 🙂 |
Hello, |
I've discovered a way to consistently reproduce this issue:
I believe this happens because on multisite, non-admins do not have the It looks like this commit might actually fix the issue, but it hasn't been released yet. Will confirm as soon as I get the src files to build correctly... |
…e encoded and output by the render callback I believe this will address the issues described in #108 and #159. At first I thought I would just add `$code = str_replace( '>', '>', $code );` as a third line of "Undo escaping...", but then I figured it would potentially catch more edge cases to just decode all HTML entities at this point in the code. They get re-encoded later in the `shortcode_callback` method, so this helps further prevent double-encoding.
^ That commit didn't fix the issue when I tested, so I opened #182. |
Still happening on |
@coreymckrill, in addition to str_replace try calling htmlspecialchars_decode The modification was done on our wordpress installation and it seems to do the job. |
Using SyntaxHighlighter Evolved plugin when adding
<plugin>abcd</plugin>
in blog it is rendering as<plugin>abcd</plugin>
Using latest version of wordpress and the plugin.
The text was updated successfully, but these errors were encountered: