Edgewall Software
Modify

Opened 6 years ago

Closed 6 years ago

Last modified 6 years ago

#12990 closed defect (cantfix)

Syntax highligting works in repository browser but not in wiki

Reported by: lukasz.matecki@… Owned by:
Priority: normal Milestone:
Component: rendering Version: 1.2.2
Severity: normal Keywords:
Cc: Branch:
Release Notes:
API Changes:
Internal Changes:

Description (last modified by Ryan J Ollos)

My configuration:

Trac 1.2.2

Babel 0.9.6

Genshi 0.7 (without speedups)

Pygments 2.2.0

pysqlite 2.6.0

Python 2.7.1 (r271:86832, Nov 27 2010, 18:30:46) [MSC v.1500 32 bit (Intel)]

pytz 2011c

RPC 1.1.5

setuptools 38.5.2

SQLite 3.6.21

Subversion 1.8.17 (r1770682)

jQuery 1.11.3

jQuery UI 1.11.4

jQuery Timepicker 1.5.5

When I'm trying to highlight my code in ticket description like this:

      if (generator_clocks[0] == parameters.REG_TRISE01)
      {
         _OUTPUT_01_ON();
      }
      else if (generator_clocks[0] == parameters.REG_TFALL01)
      {
         _OUTPUT_01_OFF();
      }

all I get is this (copied from HTML source):

<textarea id="field-description" name="field_description" class="wikitext trac-fullwidth trac-resizable" rows="10" cols="68">
{{{
#!c
      if (generator_clocks[0] == parameters.REG_TRISE01)
      {
         _OUTPUT_01_ON();
      }
      else if (generator_clocks[0] == parameters.REG_TFALL01)
      {
         _OUTPUT_01_OFF();
      }
}}}
</textarea>

The code is not highlighted. But highlighting does work in source browser. And I don't get any errors in the log output. Please help. I can provide screenshots if needed.

Attachments (0)

Change History (1)

comment:1 by Ryan J Ollos, 6 years ago

Description: modified (diff)
Resolution: cantfix
Status: newclosed

InstallationIssue. Please ask on the MailingList and include a list of your plugins.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The ticket will remain with no owner.
The resolution will be deleted. Next status will be 'reopened'.
to The owner will be changed from (none) to the specified user.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.