Skip to content

The Table of Contents is created not properly when paragraph is a link #2896

Open
@wszymanski

Description

@wszymanski
  • I confirm that this is an issue rather than a question.

Bug report

As the title says, paragraphs which are links aren't handled by [[toc]] properly.

Steps to reproduce

  1. Create paragraph using markdown, for example: [I'm an inline-style link](https://www.google.com)
  2. You will see that link in the Table of Contents isn't proper.

Screenshot 2021-07-15 at 13 36 14

Screenshot 2021-07-15 at 13 37 51

What is expected?

Link in the Table of Contents should be proper.

What is actually happening?

Link in the Table of Contents isn't be proper.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions