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

Extra spaces added for code block #6

Open
Diusrex opened this issue Apr 7, 2016 · 0 comments
Open

Extra spaces added for code block #6

Diusrex opened this issue Apr 7, 2016 · 0 comments
Assignees

Comments

@Diusrex
Copy link
Collaborator

Diusrex commented Apr 7, 2016

In the case where regular text leads into a Code block, it is possible to add additional spaces to the template, in the format:

text....
   // Extraspaces
<% start of code ...

This may happen when the start of a code block from the text is:

text....
   <% start of code ...

This occurs because of the two special cases that can occur with text leading into a code block, both of which will add a newline. Since the text preceding the code block on the same line will be added even if one of the special cases occurs.

This will cause many tests to fail, so I will be adding it after the major refactoring pull request(s).

@Diusrex Diusrex self-assigned this Apr 7, 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

No branches or pull requests

1 participant