#2128·NewsBlur

Mastodon RSS posts: line breaks are removed when generating story titles

Author: rdtbkCreated Sep 1, 2026Updated Sep 1, 2026

When subscribing to a Mastodon RSS/Atom feed, NewsBlur appears to use the post content as the story title.

This generally works well, but line breaks/paragraph boundaries seem to be removed without inserting whitespace.

For example, a Mastodon post like:

I am a headline on line 1

I am the text below it

is displayed in NewsBlur with a title similar to:

I am a headline on line 1I am the text below it

Instead, it would be preferable if paragraph or line-break boundaries were preserved as whitespace, or perhaps if only the first paragraph/line were used as the generated title:

I am a headline on line 1

This mainly affects Mastodon feeds because posts don't have a separate traditional article title.

Would it be possible to preserve whitespace when stripping the HTML used to generate "story_title", or use the first paragraph as the title for title-less feeds?