1
1
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:
Alisa Mylnikova 2018-04-18 15:49:21 +07:00
parent 7844137b34
commit d20f5a04d7

View File

@ -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)