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

Button: Escape label option as text #1632

Closed
wants to merge 1 commit into from
Closed

Button: Escape label option as text #1632

wants to merge 1 commit into from

Conversation

jzaefferer
Copy link
Member

@scottgonzalez
Copy link
Member

Button labels have always been HTML and this is sort of a requirement since you can initialize a button that already has a label which contains HTML. A change like this would require discussion, proper ticket, upgrade guide, etc.

@scottgonzalez
Copy link
Member

Note that the bug that was actually reported is legit. The closeText option on dialog has to be treated as text. But that doesn't mean that the more generic application of button labels must be limited as well.

@jzaefferer
Copy link
Member Author

Okay, we can discuss that in the meeting today. If we stick with html labels, we need to add a test for that.

@jzaefferer
Copy link
Member Author

Closing this, will create a PR to add tests for the current behaviour instead, and patch dialog to escape the closeText option.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

3 participants