Opened 14 years ago

Closed 14 years ago

#6354 closed defect (fixed)

Drupal GeSHI Filters Re-/Mis-Configured for Forum/Book Software

Reported by: Frank Fortson Owned by: Dustin Machi
Priority: high Milestone:
Component: Website Version: 1.1.0
Keywords: drupal geshi code Cc: [email protected]
Blocked By: Blocking:


Several comments have been made within the forum software/Book, but the problem remains, so posting here.

A week or so ago, the Drupal GeSHI filters must have been reconfigured, or perhaps a software upgrade. The result is that example code placed inside "code" tags are no longer left unmolested, they are interpreted, many times to empty, occasionally to a widget, sometimes to plain text.

The html, js, and other tags seem to work fine, and users could be asked to use only them (but the reference to the code tag below the edit box should be removed). However, there is a wealth of already submitted answers to questions in the forums and examples in the Book that must have used the "code" tags, since those examples/code now either look funky or empty.

The Fix: Re-configure the Drupal GeSHI filters to support the "code" tag.

Change History (3)

comment:1 Changed 14 years ago by Dustin Machi

Hmm, this problem was reported to us in regard to the hello world tutorial. We changed geshi to use the same code we were using prior to the move to the new server. It seemed to fix the problem there and seems to be working now. Can you provide some example sof places where its not working and what not working means (what is supposed to happen vs what is actually happening) so we can track these problems down?

Thanks a bunch, Dustin

comment:2 Changed 14 years ago by Frank Fortson

Glad to.

I created this "test" post in the forums:

The text I typed into the message follows:

Below has code between html tags:
<button>this is a button</button>
Below is the same code between code tags:
<button>this is a button</button>

comment:3 Changed 14 years ago by Dustin Machi

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.