Emoji fixes

This commit is contained in:
Ilya Laktyushin
2022-07-17 02:16:53 +02:00
parent 60e88c2c6c
commit dbaf5d30d7
2 changed files with 2 additions and 2 deletions

View File

@@ -509,7 +509,7 @@ final class InnerTextSelectionTipContainerNode: ASDisplayNode {
let iconSize = self.iconNode.image?.size ?? CGSize(width: 16.0, height: 16.0)
let text = self.text.replacingOccurrences(of: "#", with: "# ")
let text = self.text.replacingOccurrences(of: "#", with: "# ")
let attributedText = NSMutableAttributedString(attributedString: parseMarkdownIntoAttributedString(text, attributes: MarkdownAttributes(body: MarkdownAttributeSet(font: textFont, textColor: textColor), bold: MarkdownAttributeSet(font: boldTextFont, textColor: textColor), link: MarkdownAttributeSet(font: boldTextFont, textColor: accentColor), linkAttribute: { _ in
return nil
})))