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

[BUG] 5.1.0 doesn't render HTML #174

Closed
BudsieBuds opened this issue May 16, 2024 · 2 comments · Fixed by #175
Closed

[BUG] 5.1.0 doesn't render HTML #174

BudsieBuds opened this issue May 16, 2024 · 2 comments · Fixed by #175
Labels
bug Something isn't working

Comments

@BudsieBuds
Copy link

Describe the bug
After updating from 5.0.6 to 5.1.0, HTML isn't rendered inside the toggle.

To Reproduce

<input type="checkbox" checked data-toggle="toggle" data-onlabel="<i class='bi-play'></i> Play" data-offlabel="<i class='bi-pause'></i> Pause">

Screenshots
Bootstrap 5 Toggle 5.0.6:

Bootstrap 5 Toggle 5.0.6

Bootstrap 5 Toggle 5.1.0:

Bootstrap 5 Toggle 5.1.0

Package:

  • Bootstrap 5 Toggle version: 5.1.0
  • Bootstrap version: 5.3.3

Desktop:

  • Browser: Firefox
@BudsieBuds BudsieBuds added the bug Something isn't working label May 16, 2024
Copy link

Hi! 👋
Thanks for your issue. You are helping to improve Bootstrap 5 toggle.

@palcarazm
Copy link
Owner

Thanks for reporting.

The issue is fixed in v5.1.1.

The issue is a border effect of #160

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
Status: Closed
Development

Successfully merging a pull request may close this issue.

2 participants