Button: added replace on radio name to escape quotes. Fixed #7505 - Butt...#754
Button: added replace on radio name to escape quotes. Fixed #7505 - Butt...#754DaleKocian wants to merge 1 commit intojquery:masterfrom DaleKocian:escapeQuote
Conversation
…utton: Buttonset not applied to radio group with quotation/apostrophe in name
|
We need a more general escaping that isn't specific to single characters. Probably overlaps with what tabs is already doing: jquery-ui/ui/jquery.ui.tabs.js Line 296 in 94221c4 |
|
Duplicate of #401 :sadpanda: |
|
Kind of. Leaving this open for now. |
|
I like this better than #401 since it only escapes the |
|
@gnarf37, @jzaefferer what's the status of this pull request? And it also needs tests if it's going to land, right? |
|
@DaleKocian could you add a unit test for this? Also, the replace call should happen inside the |
|
@jzaefferer, besides a unit test, we'd also want to generalize the solution using jquery-ui/ui/jquery.ui.tabs.js Line 296 in 94221c4 |
|
I'm fine moving that method to core if it makes sense. |
|
No we don't, according to @gnarf37 commenting here: #401 (comment) |
|
Ok, thanks @jzaefferer |
|
Landed something similar in cc7df71 |
...on: Buttonset not applied to radio group with quotation/apostrophe in name