Skip to content
This repository was archived by the owner on Nov 22, 2024. It is now read-only.

Commit d4c8d82

Browse files
authored
Merge pull request #438 from brent-clintel/patch-1
Fix rendering of Line to svg
2 parents 884fc42 + 9cf641a commit d4c8d82

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/core/svgRenderer.coffee

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ defineSVGRenderer 'Line', (shape) ->
9595
<line x1='#{x1}' y1='#{y1}' x2='#{x2}' y2='#{y2}'
9696
#{dashString}
9797
stroke-linecap='#{shape.capStyle}'
98-
stroke='#{shape.color} 'stroke-width='#{shape.strokeWidth}' />
98+
stroke='#{shape.color}' stroke-width='#{shape.strokeWidth}' />
9999
#{capString}
100100
</g>
101101
"
@@ -178,4 +178,4 @@ defineSVGRenderer 'Text', (shape) ->
178178
"
179179

180180

181-
module.exports = {defineSVGRenderer, renderShapeToSVG}
181+
module.exports = {defineSVGRenderer, renderShapeToSVG}

0 commit comments

Comments
 (0)