powsybl / powsybl-network-area-diagram

Generation of network area diagrams
Mozilla Public License 2.0
2 stars 0 forks source link

Add prefix on svg id #76

Closed tadam50 closed 2 years ago

tadam50 commented 2 years ago

Signed-off-by: Thomas ADAM tadam@silicom.fr

Please check if the PR fulfills these requirements (please use '[x]' to check the checkboxes, or submit the PR and then click the checkboxes)

Does this PR already have an issue describing the problem ? If so, link to this issue using '#XXX' and skip the rest No

What kind of change does this PR introduce? (Bug fix, feature, docs update, ...) Feature

What is the current behavior? (You can also link to an open issue here) If a web page display 2 different svg diagram, same id can be used twice

What is the new behavior (if this is a feature change)? Add prefix on id svg attribut, to avoid same id can be used twice

Does this PR introduce a breaking change or deprecate an API? If yes, check the following:

Other information:

(if any of the questions/checkboxes don't apply, please delete them entirely)

sonarcloud[bot] commented 2 years ago

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

100.0% 100.0% Coverage
0.0% 0.0% Duplication