You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The error in the script results in per-diagram theme settings breaking and no diagram being generated. An empty set of parameters in hugo.toml (i.e., simply adding [params.mermaid] with no further parameters) assigns an empty set to params and allows successful execution of the script.
docsy/layouts/partials/scripts/mermaid.html
Line 21 in a72c57c
If nothing is defined in hugo.toml for [params.mermaid] then the referenced code results in
var params = null
being generated.docsy/layouts/partials/scripts/mermaid.html
Line 29 in a72c57c
Then when attempting the if statement a call is made against a null value, resulting in the browser console error.
Uncaught TypeError: Cannot read properties of null (reading 'hasOwnProperty')
The text was updated successfully, but these errors were encountered: