Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[AST] Replace line separator with paragraph separator. #149

Merged
merged 2 commits into from
Jun 3, 2019

Conversation

fgulan
Copy link
Contributor

@fgulan fgulan commented May 16, 2019

Based on a PR from CocoaMarkdown: indragiek/CocoaMarkdown#35 unicode line separator should be used for new lines inside paragraphs, while '\n' is reserved for separation between paragraphs.

@iwasrobbed iwasrobbed requested a review from johnxnguyen May 16, 2019 22:03
@iwasrobbed iwasrobbed changed the title Replace line separator with paragraph separator. [AST] Replace line separator with paragraph separator. May 16, 2019
Copy link
Collaborator

@iwasrobbed iwasrobbed left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @fgulan! This looks good to me at a high level, but I'd like @johnxnguyen to take a quick look.

Also, can you please fix the broken testAttributedStringVisitor test from these changes @fgulan? See https://travis-ci.org/iwasrobbed/Down/builds/533532109

@coveralls
Copy link

Coverage Status

Coverage increased (+0.01%) to 93.381% when pulling b308361 on fgulan:patch/line-separator into 5396a85 on iwasrobbed:master.

@johnxnguyen
Copy link
Owner

Looks good to me! Thanks for this improvement.

@iwasrobbed iwasrobbed merged commit 80d8b2d into johnxnguyen:master Jun 3, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants