Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Using Drupal 7.22, Geshi filter 7.x-1.2 and libraries 7.x-2.1
Checked a checkbox "use Geshi filter" in a FULL HTML filter, but still when i'm trying to use something like that:
<php>
echo 'some code'; // not highlighting at all :X
</php>
Not highligting
Comments
Comment #0.0
Heihachi88 CreditAttribution: Heihachi88 commentedspell
Comment #1
soxofaan CreditAttribution: soxofaan commentedIn what order are the text filters ("Filter processing order" on the text format's settings page) in your text format?
In general GeSHi Filter should come before "convert line breaks into HTML", "Correct faulty and chopped off HTML" and the like
Comment #2
alex_sansom CreditAttribution: alex_sansom commentedI was having similar problems as the issue author. To get things working, I changed my order of filters to:
Convert URLs into links
Limit allowed HTML tags
GeSHi filter
Convert line breaks into HTML (...)
Correct faulty and chopped off HTML
Comment #2.0
alex_sansom CreditAttribution: alex_sansom commentedSPELLLS
Comment #3
yukare CreditAttribution: yukare commentedSince this is for more than a year without any comment i am closing it, please, if you still have this issue reopen it.