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

Links in Headings generate unrendered Markdown in TOC #587

Closed
sewid opened this issue Nov 18, 2020 · 2 comments
Closed

Links in Headings generate unrendered Markdown in TOC #587

sewid opened this issue Nov 18, 2020 · 2 comments
Labels
bug Something isn't working right fixed Fix has been implemented

Comments

@sewid
Copy link

sewid commented Nov 18, 2020

Version(s) affected: 1.5.7

Description
If a heading contains a link, the TOC shows plain markdown code

How to reproduce
Enabled extensions:

  • TableOfContentsExtension
  • TableExtension
  • SmartPunctExtension
  • HeadingPermalinkExtension
  • FootnoteExtension

Render this markdown code

This is the site content

## This is a heading

## Another heading

## [Third heading](https://example.com) is a link

Returned TOC is:

This is a heading

Another heading

[Third heading](https://example.com) is a link

Possible Solution

Additional context

@stale
Copy link

stale bot commented Jan 17, 2021

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the stale Issue may be closed soon due to inactivity label Jan 17, 2021
@markhalliwell markhalliwell added the bug Something isn't working right label Mar 2, 2021
@stale stale bot removed the stale Issue may be closed soon due to inactivity label Mar 2, 2021
@colinodell
Copy link
Member

This has been fixed in 1.5.8

@colinodell colinodell added the fixed Fix has been implemented label Mar 28, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working right fixed Fix has been implemented
Projects
None yet
Development

No branches or pull requests

3 participants