We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4df79d8 commit 8f38703Copy full SHA for 8f38703
scripts/JSRoot.painter.js
@@ -2066,8 +2066,8 @@ JSROOT.define(['d3'], (d3) => {
2066
2067
// set attributes for debugging
2068
if (this.draw_object) {
2069
- this.draw_g.attr('objname', encodeURI(this.draw_object.fName || "name"));
2070
- this.draw_g.attr('objtype', encodeURI(this.draw_object._typename || "type"));
+ this.draw_g.attr('objname', (this.draw_object.fName || "name").replace(/[^\w]/g, '_'));
+ this.draw_g.attr('objtype', (this.draw_object.fName || "name").replace(/[^\w]/g, '_'));
2071
}
2072
2073
this.draw_g.property('in_frame', !!frame_layer); // indicates coordinate system
0 commit comments