Notifications
Clear all

wpForo 1.x.x [Closed] RSS feed title has an extra line break

3 Posts
2 Users
0 Reactions
1,183 Views
Posts: 14
Topic starter
(@jcardona)
Eminent Member
Joined: 5 years ago

I don't know if you guys know this, but the RSS feed title has an extra line break at the begging and the end. It's breaking a page where I'm loading the feed since it adds those extra line breaks/spaces and ruining the layout.

Topic Tags
2 Replies
Posts: 14
Topic starter
(@jcardona)
Eminent Member
Joined: 5 years ago

See the screenshot attached but you can see it for yourself on this forum's RSS feed.

Sofy
Posts: 4772
 Sofy
Admin
(@sofy)
Support Team
Joined: 7 years ago

Hi jcardona,

Thank you for using wpForo and for contacting us.

Probably you're using the RSS feed in some PHP file, in this case, you should use the trim() function to remove whitespace and other predefined characters from both sides of a string.ย