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

Correct tag trimming #1539

Merged
merged 2 commits into from
Oct 9, 2015
Merged

Correct tag trimming #1539

merged 2 commits into from
Oct 9, 2015

Conversation

aausch
Copy link

@aausch aausch commented Oct 8, 2015

fixing a bug with tag trimming which leads to incorrect indentation for some code blocks.

currently, when this is put inside of a codeblock:

    return result;
  }
  if (tired && night){
    sleep();
  }

it will incorrectly be rendered as (approximately, can't reproduce the exact error with the github editor):

return result;
  }
  if (tired && night){
    sleep();
  }

…ng up of occasionally parser-inserted extraneous line breaks.
@Xuanwo
Copy link
Contributor

Xuanwo commented Oct 9, 2015

wonderful work!

Xuanwo pushed a commit that referenced this pull request Oct 9, 2015
@Xuanwo Xuanwo merged commit cd0d987 into hexojs:master Oct 9, 2015
@aausch aausch deleted the correct_tag_trimming branch October 9, 2015 05:42
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.

2 participants