diff --git a/Tusker/Views/ContentLabel.swift b/Tusker/Views/ContentLabel.swift index ded9f025..9ec06335 100644 --- a/Tusker/Views/ContentLabel.swift +++ b/Tusker/Views/ContentLabel.swift @@ -31,10 +31,10 @@ class ContentLabel: LinkLabel { mutAttrString.addAttribute(.font, value: font, range: NSRange(location: 0, length: mutAttrString.length)) + self.links = [] let linkAttributes: [NSAttributedString.Key: Any] = [ .foregroundColor: UIColor.blue, ] - for (range, url) in links { mutAttrString.addAttributes(linkAttributes, range: range) self.links.append(Link(range: range, url: url))