Closed (fixed)
Project:
GeSHi Filter for syntax highlighting
Version:
5.x-2.0
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Reporter:
Created:
11 Nov 2007 at 16:26 UTC
Updated:
27 Nov 2007 at 10:21 UTC
Jump to comment: Most recent file
Comments
Comment #1
denislabonkink commentedSorry about the description, didn't suspect that < and > are removed. So, here is the description again.
When a very long line of code or comment, it doesn't wrap inside the <code> tag. Text is overflowed to other block.
Comment #2
soxofaan commentedThis is expected when you use the "pre" container.
From the html specification:
I think most browsers follow this and disable word wrapping in pre elements.
Enable the "div container" in the GeSHi filter settings if you want word wrapping
Another possibility is adding the CSS rule "overflow: auto;" to the pre container. See attached patch
Comment #3
soxofaan commented(by accident) committed:
http://drupal.org/cvs?commit=87916
Comment #4
(not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.