Node rendering differently between teaser and full view

NancyDru - June 24, 2008 - 15:28
Project:Code Filter
Version:6.x-1.0
Component:Code
Category:support request
Priority:normal
Assigned:Unassigned
Status:active
Description

In http://drupal.org/node/273573, we see that a node is rendering differently between teaser and full view. I can reproduce this problem. It is only occurring when the Code filter is used. I have several other filters in use that all work fine. Heine said something about using "check_markup again" and certainly it looks like maybe filtering is happening twice. Does Codefilter do it's thing even without being explicitly called? If so, is there a way to disable that?

#1

bricestacey - August 16, 2009 - 22:01
Version:6.x-1.x-dev» 6.x-1.0

I have the same problem, but it only occured when the <code> element was cut-off when the teaser was generated. I'm using D6, so I explicitly defined the teaser by splitting the Summary/Body. The code was properly formatted when the entire <code> element was within the teaser.

I'm not sure, but I think this is just poor teaser generation by Drupal...

#2

NancyDru - August 17, 2009 - 02:50

You may be right and Code Filter could set some flag that node_teaser could identify? Sounds like a core patch needed.

 
 

Drupal is a registered trademark of Dries Buytaert.