 
     /// Comment Attachment Text
     ///
-    let defaultText = NSLocalizedString("[HTML]", comment: "HTML Attachment Label")
+    let defaultText = NSLocalizedString("HTML", comment: "HTML Attachment Label")
 
     /// Text Color
     ///

    }

    func textView(_ textView: TextView, boundsFor attachment: NSTextAttachment, with lineFragment: CGRect) -> CGRect {
        let message = messageAttributedString()

        let size = CGSize(width: lineFragment.size.width, height: lineFragment.size.height)
        var rect = boundingRect(for: message, size: size)

        return CGRect(origin: targetPosition, size: targetBounds.size)
    }

    func messageAttributedString(with attachment: NSTextAttachment) -> NSAttributedString {
        let attributes: [String: Any] = [
            NSForegroundColorAttributeName: textColor,
            NSFontAttributeName: textFont
        ]

        let htmlAttachment = attachment as? HTMLAttachment
        let displayText = htmlAttachment?.rootTagName.uppercased() ?? defaultText

        return NSAttributedString(string: "[\(displayText)]", attributes: attributes)
    }
}
