I use the <!-- break --> tag to mark which part of my blog posts should be in the teaser.

However I've just noticed that the <!-- break --> tags are showing up in my RSS feed, which doesn't seem right to me.

Eg. http://adam.shand.net/blog/rss.xml

Is this the expected behaviour or have I configured something wrong?

Many thanks for any replies.

Adam.

Comments

Z2222’s picture

Try doing it without the spaces like this:

<!--break-->
adamshand’s picture

Sorry about that, I misremembered when i typed in this request, but I am actually using the break tag without the spaces as you suggest.

As I was looking at this again, I was wondering for a second there if it was the markdown module I'm using converting the -- to endashes. I just double checked though by disabling the cache, changing the input format for one of the articles to "Filtered HTML" and checking the feed again and I'm still seeing the break tag show up in the RSS feed.

Thanks for your suggestion though, any other ideas? I'd love to get this fixed.

Z2222’s picture

I wonder if it is one of your modules.

You could disable the modules and see if that helps (or backup the site and try disabling the modules on the backed up offline version).

adamshand’s picture

i had been wondering if marksmarty was converting the -- to an endash but i disabled and it didn't seem to help.

it's a good suggestion though, thanks. there's got a to be an answer somewhere!

Tresler’s picture

Look into the Contemplate Module. Amongst other things, it lets you theme the teaser and the body seperatley, and helps templating of RSS feeds. I've just started looking at it it myself.

Sam Tresler
http://www.treslerdesigns.com

adamshand’s picture

interesting, hadn't heard of that module before.

thanks!

ehsan.akhgari’s picture

I'm facing the same problem in my site. Did you solve your problem using the Contemplate module?

mfm’s picture

Hi!

Had this problem also and I discovered that it only appears when using "Full HTML". When I used anything with the "HTML Filter" activated, the

Tag got removed in RSS-Feeds.

--
CU Mathias

parka’s picture

I hope this problem gets fixed at the core.

It's a visual bug every reader can see.

vm’s picture

If noone has filed a bug report it's likely it won't get fixed. Not that I know it's actually broken. I don't use FULL HTML filter where it concerns feeds therefore I've never seen this.

solipsist’s picture

moettti’s picture

thank you very much - works for me!

berenddeboer’s picture

For people ending up here, the actual fix is a patch to drupal.