Skip to content

Commit

Permalink
SVG struct Width and Height (quii#263)
Browse files Browse the repository at this point in the history
We can't turn Width and Height to float64 because in xml string there are values with '%' character and the test fails.
  • Loading branch information
aivchen authored Jan 30, 2020
1 parent ebc0af4 commit 24e5f1c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions math.md
Original file line number Diff line number Diff line change
Expand Up @@ -1120,8 +1120,8 @@ tests, to sharpen everything up.
type SVG struct {
XMLName xml.Name `xml:"svg"`
Xmlns string `xml:"xmlns,attr"`
Width float64 `xml:"width,attr"`
Height float64 `xml:"height,attr"`
Width string `xml:"width,attr"`
Height string `xml:"height,attr"`
ViewBox string `xml:"viewBox,attr"`
Version string `xml:"version,attr"`
Circle Circle `xml:"circle"`
Expand Down

0 comments on commit 24e5f1c

Please sign in to comment.