Remove duplicate code for markupHeadlines and

markupFeeds