• Resolved oldskool73

    (@oldskool73)


    Hi,

    When I run my pages through the W3C validator your plugin output gives multiple errors as the href URL’s aren’t encoded and contain raw ampersands.

    line 447: & did not start a character reference. (& probably should have been escaped as &.)

    A quick fix for my needs was to url encode the link on line 441 of custom-facebook-feed.php…

    if ($cff_title_link) $cff_post_text .= '<a class="cff-post-text-link" href="'.urlencode($link).'" '.$target.'>';

    Not sure if this also occurs at other points in the code as we’re using a very stripped down output.

    https://www.ads-software.com/plugins/custom-facebook-feed/

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

    (@smashballoon)

    Hey oldskool, thanks for the heads up. I’ll add the urlencode function to the links in the next update.

    Thanks again,

    John

Viewing 1 replies (of 1 total)
  • The topic ‘Validation Errors’ is closed to new replies.