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

Bug with circular reference detection when including a file twice #1

Closed
Lucas-C opened this issue Dec 11, 2017 · 1 comment
Closed

Comments

@Lucas-C
Copy link
Contributor

Lucas-C commented Dec 11, 2017

Given the following index.md:

!!!include(partial.md)!!!
!!!include(partial.md)!!!

markdown-it-include raises the following error:

Error: Circular reference between partial.md and partial.md

I'm going to submit a PR to fix this

@camelaissani
Copy link
Owner

Thanks for your issue and especially for your fix 😄

camelaissani added a commit that referenced this issue Dec 12, 2017
Allowing to include the same file twice - fix #1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants