Skip to content

Selected option retains html tags#95

Open
shubhamprk175 wants to merge 1 commit intohernansartorio:masterfrom
shubhamprk175:selected-option-html
Open

Selected option retains html tags#95
shubhamprk175 wants to merge 1 commit intohernansartorio:masterfrom
shubhamprk175:selected-option-html

Conversation

@shubhamprk175
Copy link

The initially selected options retain the HTML tags, once you select a different option it removes the HTML tags from the selected option and just copies the text inside the tags by using the text() method. So, I have changed text() method to html().

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.

1 participant