#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: | |||
Internal 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 , 15 years ago
Component: | rendering → wiki system |
---|---|
Keywords: | engine added |
Milestone: | → 2.0 |
comment:2 by , 15 years ago
Keywords: | genshi added |
---|
See TracDev/Proposals/WikiParserFormatterSplit and #3925, I meant.
comment:4 by , 15 years ago
Milestone: | triaging → next-major-0.1X |
---|---|
Priority: | normal → low |
We'll see if going through Genshi for the formatting step will not be a performance killer…
comment:5 by , 8 years ago
Milestone: | next-major-releases |
---|---|
Resolution: | → wontfix |
Status: | new → closed |
No more Genshi related enhancements (Genshi support will be removed in Trac 1.5.1).
follow-up: 7 comment:6 by , 8 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?
comment:7 by , 8 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.
So far,
wiki_to_html
produces oneMarkup
object, which is therefore opaque to Genshi transform filters.See TracDev