Vote #78053
未完了Exporting wiki pages in HTML fails if {{collapse}}
ステータス:
New
優先度:
通常
担当者:
-
カテゴリ:
Wiki_1
対象バージョン:
-
開始日:
2022/05/09
期日:
進捗率:
0%
予定工数:
Redmineorg_URL:
category_id:
1
version_id:
0
issue_org_id:
24602
author_id:
160335
assigned_to_id:
0
comments:
0
status_id:
1
tracker_id:
1
plus1:
0
affected_version:
closed_on:
affected_version_id:
説明
When exporting a wiki page in HTML (using /projects/id/wiki/title.html), if some text is hidden in a @表示
@ macro, then the exported page doesn't allow to click on the link to see the text.h3. 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.¶
h3. Possible causes
This is obviously due to the fact that the JavaScript used by the @表示
@ macro isn't exported with the HTML page. Perhaps it could be easily added, like the CSS code which is already exported.
いいね!0