Modify

Opened 6 years ago

Closed 10 months ago

#4693 closed defect (fixed)

WikiRestructuredText not handling #!rst at the moment

Reported by: SamB Owned by: otaku42
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 6 years ago by otaku42

  • Resolution set to fixed
  • Status changed from new to closed

Thanks for your report.

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

comment:2 Changed 6 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 6 years ago by SamB

  • Resolution fixed deleted
  • Status changed from closed to reopened

comment:4 Changed 6 years ago by otaku42

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 6 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 6 years ago by otaku42

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 follow-up: Changed 6 years ago by cboos

Could it be #T4994?

comment:8 in reply to: ↑ 7 Changed 6 years ago by otaku42

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 5 years ago by anonymous

Same here.

Tries the solution form T4994 but it dod not help.

comment:10 Changed 10 months ago by rjollos

  • Resolution set to fixed
  • Status changed from reopened to closed

It seems to work okay now,

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

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

->

This is a reference to #42

Add Comment

Modify Ticket

Action
as closed .
The resolution will be deleted. Next status will be 'reopened'.
Author


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

 
Note: See TracTickets for help on using tickets.