Remove escape inside regex for StandardJS
This commit is contained in:
parent
96516d6dd5
commit
b2c833b879
|
@ -74,7 +74,7 @@ export const addVertices = function (vert, g) {
|
|||
} else {
|
||||
const svgLabel = document.createElementNS('http://www.w3.org/2000/svg', 'text')
|
||||
|
||||
const rows = verticeText.split(/<br[\/]{0,1}>/)
|
||||
const rows = verticeText.split(/<br[/]{0,1}>/)
|
||||
|
||||
for (let j = 0; j < rows.length; j++) {
|
||||
const tspan = document.createElementNS('http://www.w3.org/2000/svg', 'tspan')
|
||||
|
|
Loading…
Reference in New Issue