Skip to content

Commit 73f7d12

Browse files
Update docs/ssvc-explorer/simple.js
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent 5e7148a commit 73f7d12

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/ssvc-explorer/simple.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -203,7 +203,7 @@ const graphModule = (function() {
203203
.attr("dy", ".35em")
204204
.attr("class",function(d) {
205205
var fclass = d.name.split(":").shift().toLowerCase();
206-
fclass = fclass.replace(/^[a-zA-Z_]/,'C');
206+
fclass = fclass.replace(/^[^a-zA-Z_-]/,'C');
207207
fclass = fclass.replace(/[^a-zA-Z0-9_-]/g,'_');
208208
if(!('children' in d))
209209
return "gvisible prechk-" + fclass + " finale";

0 commit comments

Comments
 (0)