Defect #20910
Hierarchy in TOC is not preserved when Wiki index is exported to HTML
Status: | Closed | Start date: | ||
---|---|---|---|---|
Priority: | Normal | Due date: | ||
Assignee: | % Done: | 0% | ||
Category: | Wiki | |||
Target version: | 4.1.0 | |||
Resolution: | Fixed | Affected version: | 2.4.2 |
Description
- TOC items hierarchy is not supported, only one-level list is exported
- images links are incomplete with "/redmine/xxx". Full path to images is expected to see them.
Related issues
Associated revisions
Hierarchy in TOC is not preserved when Wiki index is exported to HTML (#20910).
Patch by Mizuki ISHIKAWA.
History
#1
Updated by Serguei Tarassov over 6 years ago
Related feature request #550
#2
Updated by Toshi MARUYAMA over 6 years ago
- Related to Feature #550: Function to export whole wiki added
#3
Updated by Mizuki ISHIKAWA about 4 years ago
- File 0001-Change-the-file-path-of-html-image-to-be-exported-to.patch added
- File 0002-Nest-the-exported-html-table-of-contents.patch
added
I wrote a patch to solve these two problems.
(It may be better to divide the issues...)
images links are incomplete with "/redmine/xxx". Full path to images is expected to see them.
→ attachment:0001-Change-the-file-path-of-html-image-to-be-exported-to.patch
TOC items hierarchy is not supported, only one-level list is exported
→ 0002-Nest-the-exported-html-table-of-contents.patch
By applying the patch, I think the exported HTML will be easier to see.
#4
Updated by Go MAEDA about 4 years ago
- Related to Patch #16446: Generate full URLs to images and linked pages in the Wiki HTML export added
#5
Updated by Go MAEDA about 4 years ago
Mizuki ISHIKAWA wrote:
images links are incomplete with "/redmine/xxx". Full path to images is expected to see them.
→ attachment:0001-Change-the-file-path-of-html-image-to-be-exported-to.patch
The patch is identical to #16446, which I have just committed as r17229. Let's discuss the patch 0002 on this issue.
#6
Updated by Mizuki ISHIKAWA about 4 years ago
- File after.png added
- File before.png added
Go MAEDA wrote:
The patch is identical to #16446, which I have just committed as r17229. Let's discuss the patch 0002 on this issue.
I did not notice that the same patch already exists.
I am glad that the image link has been changed to a Full path.
before | after |
![]() |
![]() |
#7
Updated by Go MAEDA about 4 years ago
- File deleted (
0001-Change-the-file-path-of-html-image-to-be-exported-to.patch)
#8
Updated by Go MAEDA about 4 years ago
- Target version set to Candidate for next major release
#9
Updated by Go MAEDA about 3 years ago
- File 20910-v2.patch
added
- Target version changed from Candidate for next major release to 4.1.0
Updated the patch for the current trunk.
#10
Updated by Go MAEDA about 3 years ago
- Subject changed from Wiki HTML export bugs to Hierarchy in TOC is not preserved when a Wiki page is exported to HTML
#11
Updated by Go MAEDA about 3 years ago
- Subject changed from Hierarchy in TOC is not preserved when a Wiki page is exported to HTML to Hierarchy in TOC is not preserved when Wiki index is exported to HTML
- Status changed from New to Closed
- Assignee set to Go MAEDA
- Resolution set to Fixed
Committed the patch with slight changes. Thank you for the fix.