Posted by anAgent on February 11, 2010 at 4:38am
2 followers
Jump to:
| Project: | GeSHi Filter for syntax highlighting |
| Version: | 6.x-1.3 |
| Component: | Miscellaneous |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | closed (fixed) |
Issue Summary
Drupal 6.15
GeSHi library version 1.0.8.6 detected
GeSHiFiiter 6.x-1.3
I'm running into an issue where if the number of lines is greater than 762 in the body of the node using "tags" to identify the ocde, the body won't display. Is there a setting I can adjust for this?
It seems to work fine if you use the GeSHI CCK Field and the Source Code node.
Comments
#1
can you attach a code example?
do you get error messages (like memory exhausted)?
you say that the body doesn't display, but does the rest of the page display?
#2
Sorry, it doesn't produce any errors. Except the for the body, everything else displays.I can reproduce it on more than one system.
Here's how to reproduce the issue.
1) Create a tag for any of the code. For me, I'm using the T-SQL lauguage with a tag of .
2) Create a node using the tag(s) with more than 762 rows. Doesn't seem to matter how much data is in each row. I turned on numbering so I could see how many rows there were.
As of today, I just ended up modifing for the Geshinode content type with CCK adding the extra fields I needed. That way seems to also work without any issues.
#3
I think this issue can be canceled This seems to be a Drupal core issue rather then related to geshiFilter. Sorry, just noticed this on a normal node it happens as well.
#4
I could reproduce the problem, but I had to go over 1294 lines to trigger it.
The problem is not in GeSHi filter but in Drupal core's line break convertor: if I disable that filter in my input format, everything just renders fine.
more info: #133188: Line break converter can result in empty node display - PCRE limits
#5
oops cross post ;)
#6
Thanks Stefaan for the link to the patch.
#7
closing issue.