Issue Feature Closed

#84531Defaults for format.crop viewhelper

Jöran Kurschatke 03/26/18, 10:48 updated 09/18/26, 14:29

Description

If i use the default implementation of the f:format.crop viewhelper, i expect to either have these settings:

respectWortBoundaries = TRUE and append = ' ...'

or

respectWortBoundaries = FALSE and append = '...'

as it is common to use a whitespace between the last word and the appendix (if it is the dots).

Because the default for respectWortBoundaries is true, we have a full word at the end, so we should have a kind of whitespace (maybe non-breaking) between it and the default dots sign.

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.

History 5

  1. Jöran Kurschatke changed tracker Bug Feature 03/26/18, 10:49

  2. Michael Stucki commented and changed project id 03/26/18, 12:48

    Wrong project.

  3. Stephan Großberndt changed subject Default implementation of format.crop viewhelper Defaults for format.crop viewhelper category 03/26/18, 13:22

  4. Benni Mack commented and changed status New Needs Feedback 03/23/25, 13:20

    We use `…` and I think this is perfectly fine at the end of the word. Otherwise you get text like this:

    “This is a long
    text in multiple
    …”

    Certainly a new bug then?

  5. Georg Ringer commented and changed status Needs Feedback Closed 09/18/26, 14:29

    closing this issue as the current defaults are fine and if we would change it, someone will like to have it different.

    feel free to use an own VH or patch/override the original one if you want that – this is also really fine