Skip to content

Tight mode was failing for heading levels greater than 2 #3

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

Merged
merged 3 commits into from
Dec 20, 2016

Conversation

gkatsev
Copy link
Contributor

@gkatsev gkatsev commented Dec 20, 2016

This was because the option tight wasn't passed to all instances of insert.

We found it when trying to add remark to videojs.

the first commit is a failing test case. The second commit fixes the issue.

@codecov-io

This comment has been minimized.

Copy link
Member

@BarryThePenguin BarryThePenguin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

😁 👍 thanks!

@BarryThePenguin BarryThePenguin merged commit 14df623 into syntax-tree:master Dec 20, 2016
@gkatsev gkatsev deleted the fix-tight-mode branch December 20, 2016 23:03
wooorm pushed a commit to remarkjs/remark-toc that referenced this pull request Dec 21, 2016
The failing case is fixed in the `mdast-util-toc` dependency: syntax-tree/mdast-util-toc/pull/3.
@wooorm wooorm added ⛵️ status/released 🐛 type/bug This is a problem 👶 semver/patch This is a backwards-compatible fix 🗄 area/interface This affects the public interface labels Aug 12, 2019
@wooorm wooorm added the 💪 phase/solved Post is done label Apr 12, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🗄 area/interface This affects the public interface 💪 phase/solved Post is done 👶 semver/patch This is a backwards-compatible fix 🐛 type/bug This is a problem
Development

Successfully merging this pull request may close these issues.

4 participants