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?

Comments

Anonymous’s picture

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...

nancydru’s picture

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