Defect #20910
closedHierarchy in TOC is not preserved when Wiki index is exported to HTML
Added by Serguei Tarassov about 11 years ago. Updated over 7 years ago.
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.
Files
| 0002-Nest-the-exported-html-table-of-contents.patch (4.49 KB) 0002-Nest-the-exported-html-table-of-contents.patch | Mizuki ISHIKAWA, 2018-03-08 06:20 | ||
| after.png (40.6 KB) after.png | Mizuki ISHIKAWA, 2018-03-14 06:25 | ||
| before.png (40.1 KB) before.png | Mizuki ISHIKAWA, 2018-03-14 06:25 | ||
| 20910-v2.patch (4.08 KB) 20910-v2.patch | Go MAEDA, 2019-05-06 15:59 |
Updated by Serguei Tarassov about 11 years ago
Actions
#1
Related feature request #550
Updated by Toshi MARUYAMA about 11 years ago
Actions
#2
- Related to Feature #550: Function to export whole wiki added
Updated by Mizuki ISHIKAWA over 8 years ago
Actions
#3
- 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 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.
Updated by Go MAEDA over 8 years ago
Actions
#4
- Related to Patch #16446: Generate full URLs to images and linked pages in the Wiki HTML export added
Updated by Go MAEDA over 8 years ago
Actions
#5
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.
Updated by Mizuki ISHIKAWA over 8 years ago
Actions
#6
- File after.png after.png added
- File before.png 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 |
![]() |
![]() |
Updated by Go MAEDA over 8 years ago
Actions
#7
- File deleted (
0001-Change-the-file-path-of-html-image-to-be-exported-to.patch)
Updated by Go MAEDA over 8 years ago
Actions
#8
- Target version set to Candidate for next major release
Updated by Go MAEDA over 7 years ago
Actions
#9
- File 20910-v2.patch 20910-v2.patch added
- Target version changed from Candidate for next major release to 4.1.0
Updated the patch for the current trunk.
Updated by Go MAEDA over 7 years ago
Actions
#10
- Subject changed from Wiki HTML export bugs to Hierarchy in TOC is not preserved when a Wiki page is exported to HTML
Updated by Go MAEDA over 7 years ago
Actions
#11
- 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.

