• Resolved ike76

    (@ike76)


    in product pages the og:description content has encoded html, showing in the preview as html

    example

    <meta property=”og:description” content=”<div class="at-above-post addthis_tool" data-url="https://sto ….

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter ike76

    (@ike76)

    edited OpenGraph.php line 26 adding wp_strip_all_tags before esc_html to prevent the issue.

    $output .= ‘<meta property=”og:description” content=”‘ . esc_html( wp_strip_all_tags($description )) . ‘” />’ . “\n”;

    Plugin Author Iain Poulson

    (@polevaultweb)

    Thanks @ike76 – this is fixed in 1.0.2 just released ??

    Thread Starter ike76

    (@ike76)

    Nice to know! have a great day.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘og:description decoded html’ is closed to new replies.