Actions
Defect #24602
openExporting wiki pages in HTML fails if {{collapse}}
Status:
New
Priority:
Normal
Assignee:
-
Category:
Wiki
Target version:
-
Start date:
Due date:
% Done:
0%
Estimated time:
Resolution:
Affected version:
Description
When exporting a wiki page in HTML (using /projects/id/wiki/title.html), if some text is hidden in a {{collapse}}
macro, then the exported page doesn't allow to click on the link to see the text.
Steps to reproduce the bug¶
- Create a wiki page in a project with some text:
h1. This is a test {{collapse(Click to show/hide) This is hidden. }}
- Try to export this page as HTML
curl https://server.ext/projects/project_id/wiki/Title.html > page.html
- Open the HTML page. If you click on the "click to show/hide" link, nothing appears.
Possible causes¶
This is obviously due to the fact that the JavaScript used by the {{collapse}}
macro isn't exported with the HTML page. Perhaps it could be easily added, like the CSS code which is already exported.
No data to display
Actions