Skip to content

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

Merged
Koooooo-7 merged 8 commits into
docsifyjs:developfrom
julienw:fix-non-asynchronous-embeds
May 18, 2023
Merged

Fix the end condition for the embed content handling loop#1824
Koooooo-7 merged 8 commits into
docsifyjs:developfrom
julienw:fix-non-asynchronous-embeds

Conversation

@julienw

Copy link
Copy Markdown
Contributor

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

vercelBot commented Jun 22, 2022

Copy link
Copy Markdown

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

NameStatusPreviewCommentsUpdated (UTC)
docsify-preview✅ Ready (Inspect)Visit Preview💬 Add feedbackMay 18, 2023 6:11am

@codesandbox-ci

codesandbox-ciBot commented Jun 22, 2022

Copy link
Copy Markdown

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:

SandboxSource
docsify-templateConfiguration
problem-with-docsifyIssue #1822
problem-with-docsifyIssue #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
Copy Markdown
ContributorAuthor

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

@julienw

Copy link
Copy Markdown
ContributorAuthor

up! thanks for your consideration

@Koooooo-7
Koooooo-7 requested a review from a teamJanuary 3, 2023 06:03
@Koooooo-7
Koooooo-7 merged commit 3fbb9b2 into docsifyjs:developMay 18, 2023
@sy-recordssy-records mentioned this pull request May 5, 2025
Sign up for freeto 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

@julienw@Koooooo-7