mirror of
https://github.com/exyte/Macaw.git
synced 2024-09-21 01:47:44 +03:00
Fix #318: Can't parse translate attributes if they contain \n
This commit is contained in:
parent
7844137b34
commit
d20f5a04d7
@ -382,6 +382,8 @@ open class SVGParser {
|
||||
guard let matcher = SVGParserRegexHelper.getTransformAttributeMatcher() else {
|
||||
return transform
|
||||
}
|
||||
|
||||
let attributes = attributes.replacingOccurrences(of: "\n", with: "")
|
||||
var finalTransform = transform
|
||||
let fullRange = NSRange(location: 0, length: attributes.count)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user