Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Lax Mariappan

    (@lakshmananphp)

    Hi,

    Try using html_entity_decode() function.

    Edit the plugin file, go to line number 99.

    Replace this

    $desc = str_replace('href="', 'href="https://www.facebook.com', $desc_feed);

    with this

    $desc = html_entity_decode(str_replace('href="', 'href="https://www.facebook.com', $desc_feed));

    Let me know if this issue is not resolved

    Thread Starter dcbaldwin1

    (@cousti)

    Hmm. In theory that should work but it doesn’t affect the " or seem to change anything.

    I also tried changing line 98 from:
    $desc_feed = str_replace('href="https://www.facebook.com', 'href="', $block->get_description()); // Emptying all links

    To:
    $desc_feed = html_entity_decode(str_replace('href="https://www.facebook.com', 'href="', $block->get_description()));

    Any other ideas? The facebook page id i’m working with is

    Thread Starter dcbaldwin1

    (@cousti)

    …is 155025661192709

    Plugin Author Lax Mariappan

    (@lakshmananphp)

    Hi, We missed the title!

    Try changing the code in line number 88

    $returnMarkup .= $feedtitle;

    to

    $returnMarkup .= html_entity_decode($feedtitle);

    I’ve checked your id 155025661192709, the widget works fine.

    Cheers
    Lakshmanan.

    Thread Starter dcbaldwin1

    (@cousti)

    Very nice. Thanks for the fix and for the awesome plugin!

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘HTML entities showing up in feed’ is closed to new replies.