A shortcode in code block shouldn’t render shortcode should it?
-
I am using the preformatted and code blocks out of the box in Gutenberg. When I paste a shortcode into the code or preformatted block it is rendered by WordPress. Shouldn’t shortcodes be treated like any other code (eg CSS or JS) and NOT rendered but just formatted as code.
I resorted to putting a space after the [ (left bracket) to prevent rendering. Am I missing something obvious?
The page I need help with: [log in to see the link]
The topic ‘A shortcode in code block shouldn’t render shortcode should it?’ is closed to new replies.