add comment
This commit is contained in:
parent
06ea7c191a
commit
59815cc218
1 changed files with 2 additions and 0 deletions
|
|
@ -978,6 +978,8 @@ func Render(diagram *d2target.Diagram) ([]byte, error) {
|
|||
}
|
||||
}
|
||||
|
||||
// Mask URLs are global. So when multiple SVGs attach to a DOM, they share
|
||||
// the same namespace for mask URLs.
|
||||
labelMaskID, err := diagram.HashID()
|
||||
if err != nil {
|
||||
return nil, err
|
||||
|
|
|
|||
Loading…
Reference in a new issue