Modify ↓
Opened 11 years ago
Closed 11 years ago
#11564 closed defect (duplicate)
Wiki PageOutline does not display correctly for pages rendered in the source browser mimeview
Reported by: | Owned by: | ||
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | version control/browser | Version: | 1.1.1dev |
Severity: | normal | Keywords: | |
Cc: | Branch: | ||
Release Notes: | |||
API Changes: | |||
Internal Changes: |
Description
The PageOutline / TracGuideToc in wiki pages under version control does not render correctly in the html preview.
See http://trac.edgewall.org/demo-1.1/browser/trunk/trac/wiki/default-pages/WikiMacros for an example.
This seems to be because wiki.css is not included on this page.
Attachments (0)
Note:
See TracTickets
for help on using tickets.
You are right. As proof, the page renders correctly with the following patch:
trac/versioncontrol/web_ui/browser.py
As a workaround, you could write a simple
IRequestFilter
that addswiki.css
to pages in thebrowser
realm.With the work that is on-going in #10672, the CSS will be combined to a single file and made available on every page. That should resolve this issue (comment:28:ticket:10672).