Skip to content

Commit

Permalink
Fix zombie blockquote ribbon and indent
Browse files Browse the repository at this point in the history
  • Loading branch information
tomekzaw committed Dec 12, 2024
1 parent 1fb4a00 commit edfa822
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions apple/MarkdownFormatter.mm
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit edfa822

Please sign in to comment.