Skip to content

Commit

Permalink
Fix replace
Browse files Browse the repository at this point in the history
  • Loading branch information
tmcconechy committed Nov 17, 2023
1 parent 68c3871 commit 11f3606
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/build/create-svg-html.js
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ const convertSvgMarkup = (id, contents) => {
}

if (id === 'user-status-unknown') {
changed = changed.replaceAll('></circle>', 'fill="currentColor" ></circle>');
changed = changed.replace(/><\/circle>/g, 'fill="currentColor" ></circle>');
}
return changed;
};
Expand Down

0 comments on commit 11f3606

Please sign in to comment.