lipgloss
lipgloss copied to clipboard
Inline concatenates words from multiple lines
When I do style.Render("hello\nworld")
I am expecting 2 different words.
If I use Inline, the result is helloworld without space.
I think we want 2 separate words here, i.e. replace newlines by spaces during inline mode.
Found while working on #109.
Should we trim trailing newlines as it would add trailing spaces?
I found this behavior confusing. Is there a way to apply just a style and leave newlines alone. Without Inline trailing newlines are padded. With Inline newlines are removed completely.
To continue the CSS analogy I want a span and not a div.