Notifications
Clear all

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

3 Posts
2 Users
0 Likes
709 Views
jcardona
Posts: 14
Topic starter
(@jcardona)
Active Member
Joined: 3 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
jcardona
Posts: 14
Topic starter
(@jcardona)
Active Member
Joined: 3 years ago

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

Reply
Sofy
Posts: 4057
 Sofy
Admin
(@sofy)
Support Team
Joined: 5 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. 

Reply
Share: