diff --git a/MVMCoreUI/Atoms/Views/Label.swift b/MVMCoreUI/Atoms/Views/Label.swift index 0dfd2ba1..8ba09f36 100644 --- a/MVMCoreUI/Atoms/Views/Label.swift +++ b/MVMCoreUI/Atoms/Views/Label.swift @@ -243,7 +243,9 @@ public typealias ActionBlock = () -> Void let imageAttachment = Label.getTextAttachmentImage(dimension: fontSize) let mutableString = NSMutableAttributedString() - mutableString.append(NSAttributedString(string: " ")) + if location != 0 { + mutableString.append(NSAttributedString(string: " ")) + } mutableString.append(NSAttributedString(attachment: imageAttachment)) attributedString.insert(mutableString, at: location)