Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Table of content: bad links and generated even when '#+OPTIONS: toc:nil' #12

Open
hubearth opened this issue Mar 6, 2020 · 0 comments
Labels

Comments

@hubearth
Copy link

hubearth commented Mar 6, 2020

A table of content is always generated and put in html at the beginning of output. It's between a '<div id="table-of-contents">' tag and it lacks a '<HTML>' tag.
Also, the links are generated as org links and would not work in a dokuwiki page.
Adding or removing the org-mode option #+OPTIONS: toc:nil doesn't change ox-wk behaviour.

Here's an exemple of the first lines of the exported .txt file:

<div id="table-of-contents">
<h2>Table of Contents</h2>
<div id="text-table-of-contents">
<ul>
<li><a href="#org0d23d74">1. Rigger</a>
<ul>
<li><a href="#org0a744f9">1.1. Vehicle</a>
<ul>
<li><a href="#orgb46ef39">1.1.1. Stats and values</a></li>
<li><a href="#org0d37c2b">1.1.2. Customizations (Riggers p. 122)</a></li>
</ul>
</li>
<li><a href="#org1f06c26">1.2. Rules</a>
<ul>
<li><a href="#org83a4459">1.2.2. Handling tests</a></li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
</div>
====== Rigger ======
...

@w-vi w-vi added the bug label Mar 8, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants