Skip to content

Extra spaces added for code block #6

@Diusrex

Description

@Diusrex

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).

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions