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

Blanklines: Revert pre changes, add testcases #74

Merged
merged 1 commit into from
Feb 2, 2016

Conversation

jnvsor
Copy link
Collaborator

@jnvsor jnvsor commented Feb 2, 2016

Fixes #70 (Introduced in dd5563b v3.0.1)

Has a slight detrimental effect on output HTML but doesn't effect the browser's rendered output, and is 30% faster. Additionally, current master not only eats newlines but the entire line before unindented pre tags so it's an improvement.

I suggested an alternative in bcccb18 for an extra 5% speedup but it adds some extra artefacts. If someone's using blanklines mode they're probably willing to put up the rare missing newline more than the 100% drop in performance suggested in #72

Due to performance concerns (And the fact that the output source
is nearly perfect without it anyway) I'm submitting this for a
30% performance improvement and some more rigorous testing for
blanklines mode
jnvsor added a commit that referenced this pull request Feb 2, 2016
Blanklines: Revert pre changes, add testcases, fix #70
@jnvsor jnvsor merged commit ded78f8 into penibelst:master Feb 2, 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

1 participant