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

fix(parser/renderer): skip trailing empty lines in delimited blocks #472

Merged
merged 1 commit into from
Jan 7, 2020

Conversation

xcoulon
Copy link
Member

@xcoulon xcoulon commented Jan 7, 2020

change the parser rules to identify the blank lines and skip them
during rendering when there is nothing else afterwards

fixes #470

Signed-off-by: Xavier Coulon [email protected]

change the parser rules to identify the blank lines and skip them
during rendering when there is nothing else afterwards

fixes bytesparadise#470

Signed-off-by: Xavier Coulon <[email protected]>
@codecov
Copy link

codecov bot commented Jan 7, 2020

Codecov Report

Merging #472 into master will increase coverage by 0.05%.
The diff coverage is 100%.

@@            Coverage Diff             @@
##           master     #472      +/-   ##
==========================================
+ Coverage   88.59%   88.64%   +0.05%     
==========================================
  Files          63       63              
  Lines        4130     4132       +2     
==========================================
+ Hits         3659     3663       +4     
+ Misses        303      302       -1     
+ Partials      168      167       -1

@xcoulon xcoulon merged commit 940da7f into bytesparadise:master Jan 7, 2020
@xcoulon xcoulon deleted the Issue470_code_block branch January 7, 2020 21:03
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.

Remove trailing \n in code block
1 participant