Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Faulty deeper included anchors on ODT export #182

Closed
lpaulsen93 opened this issue Jan 17, 2016 · 2 comments
Closed

Faulty deeper included anchors on ODT export #182

lpaulsen93 opened this issue Jan 17, 2016 · 2 comments

Comments

@lpaulsen93
Copy link
Member

If a page including a different page is exported to ODT, then anchors from an included page got the wrong id. Example:

Page A:

  • includes page B.
  • has got an heading headerA

Page B:

  • has got an anchor to headerA

On export to ODT the link id given to renderer->internallink(...) is not #headerA but pageB#headerA instead. For a detailed example wiki code, please see the corresponding issue in the ODT plugin repository at lpaulsen93/dokuwiki-plugin-odt#114.

This behaviour causes the ODT plugin to render a link to the web page instead of creating an ODT link to the heading headerA in the exported document.

@michitux
Copy link
Member

I wonder if this should also be fixed for other output formats (everything apart from metadata).

@lpaulsen93
Copy link
Member Author

Possibly yes but I did not have a deeper look into the code.

I do not known how interworking would work for format text. I guess it would also have exceptions because it doesn't support links of course.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants