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

Expected behavior or bug: table of contents of the HTML file is printed in markdown format? #378

Closed
stanislaw opened this issue Jul 21, 2019 · 1 comment · Fixed by #622

Comments

@stanislaw
Copy link
Member

Looking at the test_lines_html_document_linkify, it appears that the publish_lines method produces the HTML file with a TOC in the markdown format and this looks rather confusing.

This is the file that is checked by this test: doorstop/core/tests/files/published.html.

I guess the expected behavior will be to transform this:

* [1.2.3 REQ001](#REQ001)
  * [1.4 REQ003](#REQ003)
  * [1.6 REQ004](#REQ004)
  * [2.1 Plantuml](#REQ002)
  * [2.1 REQ2-001](#REQ2-001)

into the proper HTML links with anchors.

If this gets confirmed to be a bug, I or anyone else could send a patch.

@stanislaw stanislaw changed the title Expected behavior or bug: table of contents of the HTML file is printed in markdown format Expected behavior or bug: table of contents of the HTML file is printed in markdown format? Jul 21, 2019
@neerdoc
Copy link
Collaborator

neerdoc commented Mar 9, 2022

I agree that this is a bug.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Done
Development

Successfully merging a pull request may close this issue.

3 participants