Doctave / doctave

A batteries-included developer documentation site generator
https://cli.doctave.com
MIT License
549 stars 33 forks source link

Code in headings breaks `On this page` text #15

Closed oeb25 closed 2 years ago

oeb25 commented 2 years ago

Hi there, just stumbled over this issue. If I have inline code in a heading, all succeeding text will be truncated.

To reproduce create a file with the contents:

# Foo `bar` baz

The right On this page navigation will have a single item of Foo, missing the rest of the title.

begleynk commented 2 years ago

Thanks for reporting this. Let me investigate a bit. I have a suspicion I know what the issue is here.

begleynk commented 2 years ago

Are you still seeing this issue? I just tried to reproduce what you described but I'm seeing what I think is the expected output:

Screenshot 2021-12-28 at 11-44-32 test

begleynk commented 2 years ago

Oh - my mistake. You're talking about the right side navigation. I'm seeing the issue too.

oeb25 commented 2 years ago

Thanks a lot, looks good!