Ticket #6354 (closed defect: fixed)

Opened 4 months ago

Last modified 2 weeks ago

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

Reported by: frankf Owned by: dmachi
Priority: normal Milestone:
Component: Website Version: 1.1.0
Severity: normal Keywords: drupal geshi code
Cc: frank.fortson@…

Description

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

Changed 4 months ago by dmachi

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

Changed 4 months ago by frankf

Glad to.

I created this "test" post in the forums:

http://dojotoolkit.org/forum/dijit-dijit-0-9/dijit-support/forum-test-only-nothing-here

The text I typed into the message follows:

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

Changed 2 weeks ago by dmachi

  • status changed from new to closed
  • resolution set to fixed
Note: See TracTickets for help on using tickets.