WordPress.org

Ready to get started?Download WordPress

Forums

JW Player for Flash & HTML5 Video
[Plugin: JW Player for WordPress – Flash & HTML5 Video Player] special characters in property= (5 posts)

  1. brokensite
    Member
    Posted 2 years ago #

    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 d'appareils de chauffage et la chaudière à gaz' />

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

  2. brokensite
    Member
    Posted 2 years ago #

    or :

    <meta property='og:description' content=' fabricant d'appareils de chauffage ' />

  3. JW Player
    Member
    Plugin Author

    Posted 2 years ago #

    @brokensite,

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

    Thanks.

  4. brokensite
    Member
    Posted 2 years ago #

    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

  5. JW Player
    Member
    Plugin Author

    Posted 2 years ago #

    @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.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic