Skip to content

Fix the end condition for the embed content handling loop #1824

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 8 commits into from
May 18, 2023

Conversation

julienw
Copy link
Contributor

@julienw julienw commented Jun 22, 2022

Fixes #1822

Summary

This changes (and effectively fixes) the end condition for the embeds handling loop.

What kind of change does this PR introduce?

Bugfix

For any code change,

  • Related documentation has been updated if needed
  • Related tests have been updated or tests have been added

I didn't see any test related to embed but I'd be happy to update some if needed.

I especially looked at the "embed" page in the documentation, and everything looked good in my opinion.

Does this PR introduce a breaking change? (check one)

  • Yes
  • No

If yes, please describe the impact and migration path for existing applications:

Related issue, if any:

#1822

Tested in the following browsers:

  • Chrome
  • Firefox
  • Safari
  • Edge
  • IE

@vercel
Copy link

vercel bot commented Jun 22, 2022

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
docsify-preview ✅ Ready (Inspect) Visit Preview 💬 Add feedback May 18, 2023 6:11am

@codesandbox-ci
Copy link

codesandbox-ci bot commented Jun 22, 2022

This pull request is automatically built and testable in CodeSandbox.

To see build info of the built libraries, click here or the icon next to each commit SHA.

Latest deployment of this branch, based on commit 73dc6d6:

Sandbox Source
docsify-template Configuration
problem-with-docsify Issue #1822
problem-with-docsify Issue #1822

julienw added a commit to julienw/perf.html that referenced this pull request Jun 22, 2022
julienw added a commit to julienw/perf.html that referenced this pull request Jun 28, 2022
julienw added a commit to julienw/perf.html that referenced this pull request Jun 28, 2022
julienw added a commit to julienw/perf.html that referenced this pull request Jun 28, 2022
@julienw
Copy link
Contributor Author

julienw commented Aug 30, 2022

@sy-records @Koooooo-7 gently ping for this simple patch :-)

@julienw
Copy link
Contributor Author

julienw commented Dec 13, 2022

up! thanks for your consideration

@Koooooo-7 Koooooo-7 requested a review from a team January 3, 2023 06:03
@Koooooo-7 Koooooo-7 merged commit 3fbb9b2 into docsifyjs:develop May 18, 2023
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.

The toc (with subMaxLevel) is generated twice when there's 2 embedded links in a page
2 participants