I tried posting the views code at the link below into an issue, but drupal.org just eats the entire post - neither the views code nor anything around it will show up:

http://drupalbin.com/12970

CommentFileSizeAuthor
#4 Voila_Capture_4.png78.04 KBavpaderno
#4 Voila_Capture_5.png77.61 KBavpaderno

Comments

avpaderno’s picture

Do you mean that you could not show the code as in the below text?

  print "Hello world.";
avpaderno’s picture

The issue report seanr is referring to is http://drupal.org/node/675048. It seems the code is being truncated to an empty string, probably because it is too long.

mfer’s picture

Project: Drupal.org site moderators » Code Filter
Version: » 6.x-1.x-dev
Component: Other » Code

The module that provides this functionality is the code filter module. The issue should to go that queue.

I duplicated the problem.

avpaderno’s picture

StatusFileSize
new77.61 KB
new78.04 KB

The problem is caused by the filter.
To make a test, I removed <code>, </code>, <?php, and ?> from the node text; the preview shows both the teaser preview and the full preview correctly.

It's not clear to me why in the reported node the full text is reduced to an empty string, though.

Anonymous’s picture

Status: Active » Closed (duplicate)

I am marking this report as duplicate of #720624: Text is not visible if using PHP or <code> tags and the text is too long, which contains a little more analysis about the text causing the issue to appear.