Skip to content

Render empty blocks #49

@joeha480

Description

@joeha480

Don't ignore empty OBFL-blocks. A block in the source file that ends without adding any text or starting a nested block should render an empty line.

Note that lots of empty block objects (not the same as OBFL-blocks) are created by the formatter. This is because the OBFL-block hierarchy is flattened in the formatter and each transition in the hierarchy results in a new block object (because it might have different properties). These empty blocks could perhaps be merged unless they have different properties, but that's another story.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions