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

fix: refreshing theme will not crash diagrams any longer #2108

Closed
wants to merge 4 commits into from

Conversation

hepheir
Copy link
Contributor

@hepheir hepheir commented Dec 9, 2024

Type of change

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Improvement (refactoring and improving code)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • Documentation update

Description

found wrong target to place backed-up diagram snippets and corrected it.

Additional context

Fixes #2107

Copy link
Owner

@cotes2020 cotes2020 left a comment

Choose a reason for hiding this comment

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

It seems you ignored the Codacy failed check. Your modification just reverts to the previous code in #2034, but it will introduce code defects.

The correct fix is to change innerHTML to textContent in the previous line.

@cotes2020 cotes2020 changed the base branch from master to hotfix/7.2.3 December 11, 2024 16:15
@cotes2020 cotes2020 closed this Dec 11, 2024
Copy link

🎉 This PR is included in version 7.2.3 🎉

The release is available on:

Your semantic-release bot 📦🚀

@github-actions github-actions bot added the released Included or resolved in the release label Dec 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
released Included or resolved in the release
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Switching light/dark theme will crash Mermaid diagrams.
4 participants