Download & Extend

Node rendering differently between teaser and full view

Project:Code Filter
Version:6.x-1.0
Component:Code
Category:support request
Priority:normal
Assigned:Unassigned
Status:active

Issue Summary

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

#1

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

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

nobody click here