-
Notifications
You must be signed in to change notification settings - Fork 54
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
filter_select() group argument: '&' where '&' is wanted #87
Comments
Hello, I just wanted to bump this as I have had the same issue in my shiny app and not found a solution (or even if a solution is possible based on how
|
I'm having the same issue. Note that for @OneTrueCzar's MRE to run, you also have to |
Hi all! Thank you @greg-minshall for posting the original issue, @OneTrueCzar for the reprex, and @bomeara for the recent bump. @greg-minshall's intuition that two rounds of html escaping were occurring turns out to be spot on; we escaped the HTML on the R side and the selectize JavaScript library performs a second round of escaping when creating the select input. I have a proposed fix in #141 if you would like to try it out or need a quick fix. You can use the following to install crosstalk directly from that branch (until it's merged). remotes::install_github("rstudio/crosstalk#141") |
Hi @gadenbuie , thanks for the fix! I just tested it on my end and it works perfectly, thank you so much! |
Same for me. THANK YOU! |
Hi @gadenbuie! Still coming across the same issue on my end and the fix proposed does not work because the branch is no longer there I think |
@Arnavkar the fix from the branch was merged and released in crosstalk 1.2.1. If you're using that version of crosstalk, please open a new issue with a reproducible example and your session info ( |
hi. i wonder if the vector passed as the
group
argument tofilter_select()
is passed twice through htmlEscape()? in the following example, if you click in the search field, you'll see two possibilities, one that did not, and one that did, have an ampersand. the one with the ampersand shows as "&".cheers!
(amusingly, above, after "shows as", i had to type " & a m p ; a m p ; " (without the spaces) rather than just the first five characters. escape sequences are always problematic! :)
The text was updated successfully, but these errors were encountered: