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

Streamlining and enhancing diagram rendering across various diagram types #5604

Merged
merged 274 commits into from
Aug 12, 2024

Ignore codeql warning

9b42ffd
Select commit
Loading
Failed to load commit list.
Merged

Streamlining and enhancing diagram rendering across various diagram types #5604

Ignore codeql warning
9b42ffd
Select commit
Loading
Failed to load commit list.
GitHub Advanced Security / CodeQL succeeded Aug 12, 2024 in 5s

No new alerts in code changed by this pull request

Annotations

Check warning on line 34 in packages/mermaid/src/rendering-util/rendering-elements/createLabel.js

See this annotation in the file changed.

Code scanning / CodeQL

Unsafe HTML constructed from library input Medium

This HTML construction which depends on
library input
might later allow
cross-site scripting
.
This HTML construction which depends on
library input
might later allow
cross-site scripting
.
This HTML construction which depends on
library input
might later allow
cross-site scripting
.

Check failure on line 549 in packages/mermaid/src/rendering-util/rendering-elements/edges.js

See this annotation in the file changed.

Code scanning / CodeQL

Incomplete string escaping or encoding High

This does not escape backslash characters in the input.

Check failure on line 549 in packages/mermaid/src/rendering-util/rendering-elements/edges.js

See this annotation in the file changed.

Code scanning / CodeQL

Incomplete string escaping or encoding High

This does not escape backslash characters in the input.

Check failure on line 51 in packages/mermaid/src/rendering-util/rendering-elements/shapes/util.js

See this annotation in the file changed.

Code scanning / CodeQL

Polynomial regular expression used on uncontrolled data High

This
regular expression
that depends on
library input
may run slow on strings starting with '<img' and with many repetitions of '<img'.
This
regular expression
that depends on
library input
may run slow on strings starting with '<img' and with many repetitions of '<img'.