panoply/esthetic

Delimiter defect when singular Liquid output token

panoply opened this issue · 1 comments

Description

Minor defect which occurs when a singular Liquid output token is attempted to be formatted. This only occurs when the provided input string contains a single Liquid output tag.

Input

Take the following input.

{{ object.prop }}

Current Result

The last delimiter brace will be indented onto a new line.

{{ object.prop }
}

Expected Result

The parser should not touch or augment the structure beyond the applied rules.

{{ object.prop }}