Problem with Gutenberg escaping shortcode attributes
-
Hi
I’ve found a problem with the Gutenberg shortcode block and it affects to Wp Show Posts attributes in shortcode.
I’m using Wp Show Posts shortcode like this:
[wp_show_posts id="76440" settings="taxonomy=category&tax_term=category_1"]
I haven’t detected when exactly does it happen but sometimes the ampersand character gets escaped and changes to & so the shortcode stops working as expected.
It’s weird because it doesn’t happen always. I mean the shortcode works correctly at first and I can edit and save the page several times and the & character isn’t escaped.
Then all of a sudden it changes all ampersand characters in all the shortcode blocks I have in the same page. And even though I recover a previous revision, the escaped character persists until I edit all shortcodes and save the page.
Searching Google it seems that this is a problem with html and shortcode block. Do you know a fix for this or another way to avoid it? or any way to make wp show posts use the escaped character as well as the original?
- The topic ‘Problem with Gutenberg escaping shortcode attributes’ is closed to new replies.