diff --git a/apple/MarkdownFormatter.mm b/apple/MarkdownFormatter.mm index 23970d5a..3877d5cb 100644 --- a/apple/MarkdownFormatter.mm +++ b/apple/MarkdownFormatter.mm @@ -12,6 +12,9 @@ - (void)formatAttributedString:(nonnull NSMutableAttributedString *)attributedSt [attributedString beginEditing]; + [attributedString removeAttribute:NSParagraphStyleAttributeName range:fullRange]; + [attributedString removeAttribute:RCTLiveMarkdownBlockquoteDepthAttributeName range:fullRange]; + [attributedString addAttributes:defaultTextAttributes range:fullRange]; for (MarkdownRange *markdownRange in markdownRanges) {