Drupal module Feed Aggregator escapes HTML tags in feeds

Drupal’s Feed aggregator has a problem displaying some of the escaped tags in Google Alerts Feeds. For example, see the screenshot below:

Picture 31.jpeg

The fix is to alter the code in
modules/aggregator/aggregator.module

Search for

 function aggregator_save_item($edit)

In both the UPDATE statement and the INSERT statement:

replace $edit['title']

with

strip_tags($edit['title'])

The words “strip_tags” are colored green in the image below, to make it easier to see the exact spots that need editing:
Picture 30.jpeg

After the fix, the feed looks like this:
Picture 33fixed.jpeg

Note: You may want to put the edited copy of this module into the sites/modules folder so it will not be overwritten by the next update of Drupal.

Many thanks to Manjeet in the Drupal forums for this tip.