Задать вопрос

Тел: +7 965 3737 888

497

Просмотров

3

Ответов

Template filter implementing the Trac wiki markup language

I don't know how robust or secure this is, but it's working for me so far.

Вопрос полезен? Да0/Нет0
file_4639.py(740.0б)
None

Ответы (3):

Ответalbertorcf:21.10.2010
Ответ полезен? Да0/Нет0

or simply remove the parameter:

context = Context.from_request(req)

tested at Trac version 0.12.1

I will see more about the resource parameter to find how improve these wiki links

Ответalbertorcf:21.10.2010
Ответ полезен? Да0/Нет0

failed to render a wiki link like

[wiki:DoSomeThing do some thing]

change the next line to correct this

context = Context.from_request(req, id='wiki')

Ответtutuca:23.04.2009
Ответ полезен? Да0/Нет0

It fails to use the [Image()] macro. But for works flawlessy rendering text