Posted by fax8 on February 17, 2006 at 7:38pm
| Project: | Drupal core |
| Version: | 4.7.x-dev |
| Component: | node system |
| Category: | bug report |
| Priority: | normal |
| Assigned: | chx |
| Status: | closed (fixed) |
Issue Summary
Creating a node with php input and editing it like below
let 'hello2' be displayed also on teasers on node listing pages.
(I had to separate minus from 'break' to let drupal.org post this)
hello
< !-- break -- >
<?php
print 'hello2';
?>
Comments
#1
#2
one hunk too more.
#3
Actually, what we /should/ do for PHP code is to use the break tag if it's there, but do no automatic splitting otherwise (because that is surely to result in problems).
#4
Taking Steven's advice, we get... (for 4.7)
#5
And... (for 5.x-dev)
#6
New patch for 4.7.x-dev undoes (now unneeded) code added in http://drupal.org/node/80989
#7
New patch for 5.x-dev undoes (now unneeded) code added in http://drupal.org/node/80989
#8
Committed to HEAD, works as advertised. Good job.
#9
applied
#10