syntaxhighlighter icon indicating copy to clipboard operation
syntaxhighlighter copied to clipboard

Code shortcode For Jetpack and WordPress.com doesn't render well in AMP

Open brucea8c opened this issue 6 years ago • 1 comments

@ashercantrell received a report from a customer today that, when using the syntaxhighlighter [code] shortcode on WordPress.com sites or Jetpack-enabled WordPress sites, one can see rendering issues. Namely, the text can escape the borders of the page.

You can see this, as an example, on this post: https://buildingsteps.wordpress.com/2019/02/03/typed-claims-in-asp-net-core-2-1/

On the AMP version, the text is rendered out past the edge of the screen: https://buildingsteps.wordpress.com/2019/02/03/typed-claims-in-asp-net-core-2-1/amp/

Ticket: #2246096-zen

brucea8c avatar Aug 05 '19 14:08 brucea8c

I also facing the same issue.

CodeDelay-com avatar Aug 08 '19 09:08 CodeDelay-com