Skip to content
This repository has been archived by the owner on Oct 8, 2021. It is now read-only.

Buttons should allow HTML when coming from a <button> #3975

Closed
gnarf opened this issue Apr 5, 2012 · 1 comment
Closed

Buttons should allow HTML when coming from a <button> #3975

gnarf opened this issue Apr 5, 2012 · 1 comment
Assignees
Milestone

Comments

@gnarf
Copy link
Contributor

gnarf commented Apr 5, 2012

Buttons generated from <button> should copy the HTML of the button instead of only the text.

For a broken example - see: http://jsfiddle.net/MYeUC/ - possible workaround: http://jsfiddle.net/MYeUC/1/

It feels like the code is doing a .text( .text() ) instead of a .html( .html() ) -- obviously a <input type="button"> needs to be .text( .val() )

@ghost ghost assigned Wilto Apr 5, 2012
@chee
Copy link

chee commented Apr 7, 2012

i also have this issue

@Wilto Wilto closed this as completed in c46a25e Apr 20, 2012
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants