Yii 1.1.16 - renderPartial() adds a space at begining of output

Is it just me, or does renderPartial() add an extra space infront of its ouput? It reems to do so with all my renderPartial()'s. render() works fine for me and doesnt add an extra space.

here is a sample code of mine. Trying to generate an RSS, and getting error’s because of the extra space




public function actionFeed()

	{

		Yii::import('site.common.extensions.feed.*');

		

		$model = new ABC();

		

		$this->renderPartial('feed', array('model' => $model->findAll()));

	}

here is the generated html


 <?xml version="1.0" encoding="utf-8"?>

<rss version="2.0" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel>

there is a space infront of <?xml>

i didn’t overwrite the beforeRender() function either.

I’m using this extension to generate the RSS https://github.com/2amigos/efeed

FYI, I’m using:

Yii 1.1.16

OSX 10.10.2

XAMPP 1.8.3-5

CHROME 40.0.2214.94 (64-bit)

FIREFOX 35.0.1

[color="#006400"]/* a report from the poster */[/color]