Skip to content

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

Description

@Ciki

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    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