Edgewall Software
Modify

Opened 17 years ago

Closed 17 years ago

#4505 closed defect (fixed)

WikiProcessor code blocks render as html encoded

Reported by: pjenvey@… Owned by: Christian Boos
Priority: normal Milestone: 0.11
Component: wiki system Version: devel
Severity: major Keywords: mimeview highlighting
Cc: Branch:
Release Notes:
API Changes:
Internal Changes:

Description

A code block such as:

\{\{\{
#!python
print 'doh'
\}\}\}

Shows up on the page as:

<span class="p_word">print</span> <span class="p_character">'doh'</span>

An example of this:

http://pylonshq.com/project/pylonshq/ticket/161

I'm seeing this on HEAD (r4523)

Attachments (1)

Ordem_Servico-Abrir.htm (6.2 KB ) - added by anonymous 17 years ago.

Download all attachments as: .zip

Change History (5)

comment:1 by anonymous, 17 years ago

Summary: WikiProcessor code blocks render has html encodedWikiProcessor code blocks render as html encoded

I am changing the typo in the summary (this isn't spam, SpamBayes, trust me)

comment:2 by Tim Hatch, 17 years ago

Confirmed on trunk, SilverCity is unable to correctly highlight Python code in Wiki pages. Works fine under browser, and Pygments seems to work fine in the wiki.

comment:3 by Christian Boos, 17 years ago

Keywords: mimeview highlighting added
Milestone: 0.11
Owner: changed from Jonas Borgström to Christian Boos
Status: newassigned

This should be fixed by r4597, but I've not yet tested with enscript (I don't have it anymore on my Windows box). Please give me some feedback.

comment:4 by Christian Boos, 17 years ago

Resolution: fixed
Status: assignedclosed

The above works, but there was still an issue with the PlainTextRenderer when it was used as a fallback, see r4638.

by anonymous, 17 years ago

Attachment: Ordem_Servico-Abrir.htm added

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Christian Boos.
The resolution will be deleted. Next status will be 'reopened'.
to The owner will be changed from Christian Boos 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.