doorstop icon indicating copy to clipboard operation
doorstop copied to clipboard

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

Open stanislaw opened this issue 6 years ago • 1 comments

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 avatar Jul 21 '19 16:07 stanislaw

I agree that this is a bug.

neerdoc avatar Mar 09 '22 11:03 neerdoc