Skip to content

Paragraphs with explicit trailing whitespace don't layout as intended #597

@Gewi413

Description

@Gewi413

Content blocks trim out spaces. Including

  • [ leading spaces]
  • [trailing spaces ]
  • [spaces between words]
    Which subsequently get rendered as
    image

It is desireable when putting untintentional leading / trailing spaces / hitting space twice.
Yet this feature would be needed if you want to use spaces as spacing, i.e. with a#box[ ]b or in #repeat[ .] (to get further spaced out dots

Possible fix: add text(trim: boolean = true) parameter to let the user have not-trimming when desired

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workinglayoutRelated to the layout category, which is about composing, positioning, etc.textRelated to the text category, which is all about text handling, shaping, etc.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions