Edgewall Software
Modify

Opened 10 years ago

Closed 3 years ago

Last modified 3 years ago

#8770 closed defect (wontfix)

site.html template is not applied to wiki formatted content

Reported by: Mitar Owned by:
Priority: low Milestone:
Component: wiki system Version: 0.11.4
Severity: normal Keywords: engine genshi
Cc: mmitar@… Branch:
Release Notes:
API Changes:

Description

site.html template is not applied to wiki formatted content when inserted with wiki_to_html.

For example FullBlogPlugin is using wiki_to_html to render blog posts and if I try to use such rule in my site.html:

<py:match path="div[@class='blog-body']//h2"><h4>${select('*|text()')}</h4></py:match>

nothing happens. Even this:

<py:match path="h2"><h4>${select('*|text()')}</h4></py:match>

does not change <h2> tag in post content (but it changes elsewhere).

Attachments (0)

Change History (7)

comment:1 by Christian Boos, 10 years ago

Component: renderingwiki system
Keywords: engine added
Milestone: 2.0

So far, wiki_to_html produces one Markup object, which is therefore opaque to Genshi transform filters.

See TracDev

comment:2 by Christian Boos, 10 years ago

Keywords: genshi added

comment:3 by Christian Boos, 10 years ago

Milestone: 2.0unscheduled

Milestone 2.0 deleted

comment:4 by Christian Boos, 10 years ago

Milestone: triagingnext-major-0.1X
Priority: normallow

We'll see if going through Genshi for the formatting step will not be a performance killer…

comment:5 by Christian Boos, 3 years ago

Milestone: next-major-releases
Resolution: wontfix
Status: newclosed

No more Genshi related enhancements (Genshi support will be removed in Trac 1.5.1).

comment:6 by mmitar@…, 3 years ago

Oh, what? There will be no Genshi? This is a bit backwards incompatible change? Why that? I really love Genshi. Where can I read more about this change?

in reply to:  6 comment:7 by Ryan J Ollos, 3 years ago

Replying to mmitar@…:

Oh, what? There will be no Genshi? This is a bit backwards incompatible change? Why that? I really love Genshi. Where can I read more about this change?

Backwards compatibility for Genshi until Trac 1.5.1.

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 as closed 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.