Modify

Opened 16 years ago

Closed 11 years ago

#4693 closed defect (fixed)

WikiRestructuredText not handling #!rst at the moment

Reported by: SamB Owned by: Michael Renzmann
Priority: normal Component: TracHacks
Severity: normal Keywords:
Cc: Trac Release: 0.10

Description

The WikiRestructuredText processor isn't the one handling #!rst at the moment, as evidenced by the handling of the following example:

{{{
#!rst
This is a reference to |a ticket|

.. |a ticket| trac:: #42
}}}

which gives:

This is a reference to #42

Among the pages affected is TracGoogleAnalyticsPlugin.

Attachments (0)

Change History (10)

comment:1 Changed 16 years ago by Michael Renzmann

Resolution: fixed
Status: newclosed

Thanks for your report.

I think it is now fixed. Please reopen if you still experience problems with RST-support.

comment:2 Changed 16 years ago by SamB

Er, nope. It's still being syntax highlighted rather than converted to HTML as it is supposed to be.

comment:3 Changed 16 years ago by SamB

Resolution: fixed
Status: closedreopened

comment:4 Changed 16 years ago by Michael Renzmann

Ok... but the output looks similar to what can be seen in the examples t.e.o. Have a screenshot at hands how it should look like instead? Any help appreciated.

comment:5 Changed 16 years ago by SamB

Huh. It does seem to affect trac.edgewall.org, doesn't it? Maybe there was a change in docutils' default output format :-(.

comment:6 Changed 16 years ago by Michael Renzmann

This post from Jonas Borgström suggests that t.e.o had no docutils package installed, which is now fixed. Which leaves the question open why rst-rendering fails here... I have double-checked again that docutils are installed on the server. Any suggestions welcome...

comment:7 Changed 16 years ago by Christian Boos

Could it be #T4994?

comment:8 in reply to:  7 Changed 16 years ago by Michael Renzmann

Replying to cboos:

Could it be #T4994?

hacks:/# python
Python 2.5.2 (r252:60911, Jan  4 2009, 17:40:26)
[GCC 4.3.2] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import pkg_resources
>>> pkg_resources.require('docutils')
[docutils 0.5 (/usr/lib/python2.5/site-packages/docutils-0.5-py2.5.egg)]

It appears to me that Python is aware of the docutils package. So: nope.

comment:9 Changed 15 years ago by anonymous

Same here.

Tries the solution form T4994 but it dod not help.

comment:10 Changed 11 years ago by Ryan J Ollos

Resolution: fixed
Status: reopenedclosed

It seems to work okay now,

{{{
#!rst
This is a reference to |a ticket|

.. |a ticket| trac:: #42
}}}

->

This is a reference to #42

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Michael Renzmann.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


E-mail address and name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.