Skip to content

Commit

Permalink
Corrected 'Line' Description Syntax (#17)
Browse files Browse the repository at this point in the history
fix: fix Line parameter syntax error.
  • Loading branch information
jaywcjlove authored Sep 17, 2024
1 parent b308ebd commit e7cbe21
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Sources/SwiftSVG/Line.swift
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ public struct Line: Element {

// MARK: - CustomStringConvertible
public var description: String {
let desc = "<line x1=\"\(x1)\", y1=\"\(y1)\", x2=\"\(x2)\", y2=\"\(y2)\""
let desc = "<line x1=\"\(x1)\" y1=\"\(y1)\" x2=\"\(x2)\" y2=\"\(y2)\""
return desc + " \(attributeDescription) />"
}
}
Expand Down

0 comments on commit e7cbe21

Please sign in to comment.