Support » Plugin: JW Player for Flash & HTML5 Video » [Plugin: JW Player for WordPress – Flash & HTML5 Video Player] special characters in property=

  • brokensite

    (@brokensite)


    special characters in title and description are not transformed :
    $output .= “<meta property=’og:title’ content='” . htmlspecialchars($title) . “‘ />”;
    $output .= “<meta property=’og:description’ content='” . htmlspecialchars($description) . “‘ />”;

    like
    content=’Saunier Duval : fabricant dappareils de chauffage et la chaudière à gaz‘ />

    http://wordpress.org/extend/plugins/jw-player-plugin-for-wordpress/

Viewing 4 replies - 1 through 4 (of 4 total)
  • brokensite

    (@brokensite)

    or :

    <meta property=’og:description’ content=’ fabricant dappareils de chauffage ‘ />

    Plugin Author JW Player

    (@longtail-video)

    @brokensite,

    This is definitely a bug. I’ll look into addressing this in the next release.

    Thanks.

    brokensite

    (@brokensite)

    Thanks for your response, I have tried to modify that but it did not work.

    As I have mention above content='” . htmlspecialchars($title) . “‘

    doesn’t really transform and that has a negative impact on SEO and sharing.

    Do you have any suggestion to modify the output ?

    Thanks

    Plugin Author JW Player

    (@longtail-video)

    @brokensite,

    Did htmlspecialchars($title) work for you? I’m not sure this would affect the SEO since escaping values in HTML is pretty standard.

    Have you tried escaping the apostrophe with slashes?

    Thanks.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘[Plugin: JW Player for WordPress – Flash & HTML5 Video Player] special characters in property=’ is closed to new replies.