Skip to content

Commit

Permalink
fixed - rss feed escape
Browse files Browse the repository at this point in the history
  • Loading branch information
SteveJonesDev committed Jan 5, 2024
1 parent d7e7d07 commit 9b64d98
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion inc/admin-branding-ed.php
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ function eqd_dashboard_rss() {
$content = $item->get_content();
$content = wp_html_excerpt( $content, 200 ) . ' ...<a target="_blank" href="' . $link . '">Keep Reading</a>';

echo "<li><a class='rsswidget' href='" . esc_url( $link ) . " target='_blank'>" . esc_html( $title ) . "</a>\n<div class='rssSummary'>" . esc_html( $content ) . "</div>\n";
echo "<li><a class='rsswidget' href='" . esc_url( $link ) . " target='_blank'>" . wp_kses_post( $title ) . "</a>\n<div class='rssSummary'>" . wp_kses_post( $content ) . "</div>\n";
}

echo "</ul>\n";
Expand Down

0 comments on commit 9b64d98

Please sign in to comment.