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

[BUG] {define} block leaves an empty line when rendered #251

Closed
Ciki opened this issue Jan 15, 2021 · 2 comments
Closed

[BUG] {define} block leaves an empty line when rendered #251

Ciki opened this issue Jan 15, 2021 · 2 comments

Comments

@Ciki
Copy link

Ciki commented Jan 15, 2021

Version: 2.9.2

Bug Description

the {define} block now leaves an empty line when rendered, causing eg. XML file being rendered with latte as invalid.

Steps To Reproduce

{define testBlockLeavesEmptyLine}
  blockContent
{/define}
<?xml version="1.0" encoding="Windows-1250"?>

it renders first line empty

Expected Behavior

the {define} block should not be rendered as an empty line

@dg
Copy link
Member

dg commented Jan 15, 2021

fixed

@dg dg closed this as completed Jan 15, 2021
@Ciki
Copy link
Author

Ciki commented Jan 15, 2021

thank you!

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

2 participants