Skip to content
New issue

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

How to add   #363

Closed
fscherf opened this issue Mar 16, 2023 Discussed in #362 · 0 comments · Fixed by #368
Closed

How to add   #363

fscherf opened this issue Mar 16, 2023 Discussed in #362 · 0 comments · Fixed by #368
Labels
bug Something isn't working

Comments

@fscherf
Copy link
Member

fscherf commented Mar 16, 2023

Discussed in #362

Originally posted by markusgritsch March 16, 2023
In a LonaView I would like to return two Buttons separated by some   like this:

    html = HTML(
        Button('B1'),
        ' ',
        Button('B2'),
        )

However, this gets rendered as:
grafik

Other HTML tags like <br> or <b> get interpreted as markup, and even the following works:

    html = HTML(
        Button('B1'),
        '<b>te&nbsp;xt</b>',
        Button('B2'),
        )

grafik

I think this is related to issue #268, so it there still no way to achive this?

@fscherf fscherf added the bug Something isn't working label Mar 16, 2023
@fscherf fscherf linked a pull request Mar 19, 2023 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant