• Resolved ponzo

    (@ponzo)


    Hello,

    When I use this plugin to copy gutenberg pages, the characters within (advanced custom fields) texteditors are not encoded..

    So slashes are shown as unicode:
    `u003cpu003edit is een test huge problemu003c/pu003ernu003cpu003edwdwqwdwdu003c/pu003ernu003cpu003edwqdwpdwdu003c/pu003ernu003cpu003eSUper ditu003c/pu003e

    I posted a topic on ACF and opened a support ticket
    https://support.advancedcustomfields.com/forums/topic/big-problem-with-texteditor/#post-85399

    Elliot Condon came with the solution to use wp_slash before inserting the post data

    So within your plugin:
    'post_content' => $post->post_content,

    should be
    'post_content' => wp_slash($post->post_content),

    If a gutenberg page is copied

    Can you add this within the next release?

    Thanks

Viewing 1 replies (of 1 total)
  • Plugin Author mndpsingh287

    (@mndpsingh287)

    Hey @ponzo,

    We have fixed this issue in v3.5. Please check and let us know if it resolves your issue or not.

    Regards,
    Mandeep

Viewing 1 replies (of 1 total)

The topic ‘Malformed content with gutenberg blocks’ is closed to new replies.