From 8cc59b6640007da918061f8c67320951ffcfe44d Mon Sep 17 00:00:00 2001 From: Vladislav Dugnist Date: Mon, 11 Jul 2016 18:10:10 +0300 Subject: [PATCH] replace '\n' to '\u2028' separator for line breaks --- CocoaMarkdown/CMAttributedStringRenderer.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CocoaMarkdown/CMAttributedStringRenderer.m b/CocoaMarkdown/CMAttributedStringRenderer.m index c6ff44b..cc1fab3 100644 --- a/CocoaMarkdown/CMAttributedStringRenderer.m +++ b/CocoaMarkdown/CMAttributedStringRenderer.m @@ -214,7 +214,7 @@ - (void)parserFoundSoftBreak:(CMParser *)parser - (void)parserFoundLineBreak:(CMParser *)parser { - [self appendString:@"\n"]; + [self appendString:@"\u2028"]; } - (void)parserDidStartBlockQuote:(CMParser *)parser