Skip to content
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

Escaping issue in shortcodes #219

Open
yscik opened this issue Oct 22, 2021 · 0 comments
Open

Escaping issue in shortcodes #219

yscik opened this issue Oct 22, 2021 · 0 comments

Comments

@yscik
Copy link
Contributor

yscik commented Oct 22, 2021

Steps to Reproduce

  • Have a Gutenberg paragraph block with shortcode:
    [code lang="php"]if(a && b) {}[/code]
    — special characters are escaped for this in the stored post content
  • Syntaxhighlighter also escapes this and renders if(a && b) {}

PHP / WordPress / SyntaxHighlighter Evolved version

  • Issue is present in 3.6.0 even after the fixes, which looks like only fixed it for code blocks

Context / Source

See p7H4VZ-3dm-p2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants