diff options
| author | Laurenz <laurmaedje@gmail.com> | 2024-07-04 12:57:40 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-07-04 10:57:40 +0000 |
| commit | 0ef672c347f368325313c8bccc4f70e3f1016b0a (patch) | |
| tree | 8971d6b305d805b42b55e1e85613e4f4c5ba175d /tests/suite/layout | |
| parent | 75246f930b9041c206a8a3c87e6db03bfc9111fd (diff) | |
Refactor line building (#4497)
Diffstat (limited to 'tests/suite/layout')
| -rw-r--r-- | tests/suite/layout/spacing.typ | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/tests/suite/layout/spacing.typ b/tests/suite/layout/spacing.typ index dd0fced5..c32e6c8f 100644 --- a/tests/suite/layout/spacing.typ +++ b/tests/suite/layout/spacing.typ @@ -47,14 +47,14 @@ Totally #h() ignored Hello #h(2cm, weak: true) --- issue-4087 --- -// weak space at the end of the line would be removed. +// Weak space at the end of the line is removed. This is the first line #h(2cm, weak: true) A new line -// non-weak space would be consume a specified width and push next line. +// Non-weak space consumes a specified width and pushes to next line. This is the first line #h(2cm, weak: false) A new line -// similarly weak space at the beginning of the line would be removed. -This is the first line\ #h(2cm, weak: true) A new line +// Similarly, weak space at the beginning of the line is removed. +This is the first line \ #h(2cm, weak: true) A new line -// non-spacing, on the other hand, is not removed. -This is the first line\ #h(2cm, weak: false) A new line +// Non-weak-spacing, on the other hand, is not removed. +This is the first line \ #h(2cm, weak: false) A new line |
