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

Increment diff counter in blockqute parsing (Fixes #37) #45

Merged
merged 1 commit into from
Oct 13, 2015

Conversation

andrewnicols
Copy link
Collaborator

The blockquote counter should be incremented when parsing quoted text,
rather than set to the length of the quote. If there are multiple
blockquotes in the text then the position counter must be tracked
additively and cannot be assumed to start from zero each time.

Thanks to @voku, who provided this patch. I've just grabbed his patch, and
removed his local customisations for UTF8 versions of strlen.

The blockquote counter should be incremented when parsing quoted text,
rather than set to the length of the quote. If there are multiple
blockquotes in the text then the position counter must be tracked
additively and cannot be assumed to start from zero each time.

Thanks to @voku, who provided this patch. I've just grabbed his patch, and
removed his local customisations for UTF8 versions of strlen.
@mtibben
Copy link
Owner

mtibben commented Oct 13, 2015

Makes sense 👍

mtibben added a commit that referenced this pull request Oct 13, 2015
Increment diff counter in blockqute parsing (Fixes #37)
@mtibben mtibben merged commit 731f734 into mtibben:master Oct 13, 2015
@andrewnicols andrewnicols mentioned this pull request Feb 22, 2016
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.

None yet

2 participants