#3089: PageOutline macro in wiki preview still shows the outline of the last
saved
content
---------------------------------------+------------------------------------
Reporter: [EMAIL PROTECTED] | Owner: cboos
Type: defect | Status: new
Priority: high | Milestone: 0.10
Component: wiki | Version: 0.9.5
Severity: normal | Resolution:
Keywords: macro |
---------------------------------------+------------------------------------
Changes (by cboos):
* keywords: => macro
* milestone: => 0.10
* owner: jonas => cboos
* summary: PageOutline Macro shows only one level => PageOutline macro
in wiki preview still shows the outline of the
last saved content
Comment:
This could only be fixed by making available the full content
of the currently rendered wiki text to the `render_macro()`.
That would have the additional benefit of making the outline
work on any kind of content, not only wiki pages.
Actually, this can be achieved by passing the `formatter`
object to the macro, which is a useful thing to do anyway (see Trac-
Dev:497).
--
Ticket URL: <http://projects.edgewall.com/trac/ticket/3089>
The Trac Project <http://trac.edgewall.com/>
_______________________________________________
Trac-Tickets mailing list
[email protected]
http://lists.edgewall.com/mailman/listinfo/trac-tickets