Forums

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

  1. brokensite
    Member
    Posted 4 months 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 4 months ago #

    or :

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

  3. LongTail Video
    Member
    Posted 3 months ago #

    @brokensite,

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

    Thanks.

  4. brokensite
    Member
    Posted 3 months 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. LongTail Video
    Member
    Posted 3 months 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.

Reply

You must log in to post.

About this Plugin

About this Topic