We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Any keading space characters at the start of text elements are stripped before rendering.
e.g. " hello world" is displayed as "hello world"
" hello world"
"hello world"
The following code renders the " on " element without the first space character.
" on "
(box :orientation "horizontal" :halign "end" :class "subtitle" :space-evenly false "The time is now " (label :class "time" :text {time}) " on " (label :class "date" :text {day}) ".")
eww 0.4.0 678e4dbc6b6439bf50898ae2b13fcc65900c439c
826e35
6.0.7-artix1-1
The leading space characters should be displayed.
The inspector shows that the leading space is stripped before being loaded as a GTKLabel object.
I can edit the text within the inspector to add the space manually, but this obviously doesn't persist between reloads.
The text was updated successfully, but these errors were encountered:
Have you tried escaping the space like this "\ on "?
space
"\ on "
Sorry, something went wrong.
@VuiMuich Escaping doesn't work, unfortunately.
I think it recognises the attempt to escape because the backslash isn't displayed, but neither is the space.
:unindent
if i'm not mistaken, this issue should be closed by #804 see #1117 for notes about escaping, there are some issues with that
No branches or pull requests
Checklist before submitting an issue
Description of the bug
Any keading space characters at the start of text elements are stripped before rendering.
e.g.
" hello world"
is displayed as"hello world"
Reproducing the issue
The following code renders the
" on "
element without the first space character.Specs
eww 0.4.0 678e4dbc6b6439bf50898ae2b13fcc65900c439c
(wayland enabled)826e35
(Dec 4th)6.0.7-artix1-1
)Expected behaviour
The leading space characters should be displayed.
Additional context
The inspector shows that the leading space is stripped before being loaded as a GTKLabel object.
I can edit the text within the inspector to add the space manually, but this obviously doesn't persist between reloads.
The text was updated successfully, but these errors were encountered: