Skip to content

Inline text styles added by WP stripped out #395

@ebiewald

Description

@ebiewald

I've noticed that text in the WP content that is underlined, colored, or aligned is not appearing as such in AMP. I know this is because WP added inline styles to those tags, which isn't supported by AMP, so they're being stripped out. If the plugin could add a class to those tags in place of the inline styles, so you can still style the text as expected, that would be really awesome.

Is there any current work around in place? Or is there any discussion of something be added to the plugin to handle all the WP wysiwyg options? If not, maybe add a disclaimer to the README? Thanks in advance for your help, it's much appreciated!

Ellen

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions