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

Update functions to use new htmltools whitespace behavior #438

Merged
merged 1 commit into from
Apr 3, 2023
Merged

Conversation

wch
Copy link
Collaborator

@wch wch commented Mar 31, 2023

After posit-dev/py-htmltools#54 is merged, a few components need explicit whitespace.

@@ -56,6 +56,7 @@ def input_action_button(
label,
id=resolve_id(id),
type="button",
_add_ws=True,
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

After discussion in person, let's not default to True, and instead ask people to add a literal space between buttons if they want that.

@wch wch merged commit 189a3ea into main Apr 3, 2023
@wch wch deleted the whitespace branch April 3, 2023 17:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants