Skip to content

fix toc generation to properly nest #1288

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 1 commit into from
Nov 26, 2019
Merged

fix toc generation to properly nest #1288

merged 1 commit into from
Nov 26, 2019

Conversation

mkamensky
Copy link
Contributor

Description

The js function the generates toc produces malformed html: <ol> elements occur within other <ol> elements directly. This change fixes it.

Completed Tasks

  • [x ] I have read the Contributing Guide.
  • [ x] The pull request is complete (implemented / written).
  • [x ] Git commits have been cleaned up (squash WIP / revert commits).
  • [x ] I wrote tests and ran bundle exec rake locally (if code is attached to PR).

@coveralls
Copy link

coveralls commented Nov 11, 2019

Coverage Status

Coverage decreased (-0.2%) to 93.598% when pulling a95018d on mkamensky:template-fix into 4b5c875 on lsegal:master.

@lsegal lsegal merged commit 6fc420c into lsegal:master Nov 26, 2019
@lsegal
Copy link
Owner

lsegal commented Nov 26, 2019

Thanks for the contribution!

lsegal added a commit that referenced this pull request Dec 31, 2019
@mkamensky mkamensky deleted the template-fix branch March 4, 2020 14:52
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

Successfully merging this pull request may close these issues.

None yet

3 participants