The display of apostrophes (and &, >, <, ", ...) is not rendered correctly in the choices when using pickerInput with choicesOpt. It appears that the labels specified in the choices list are being escaped to their HTML entities.
This does not happen when choicesOpt is set to NULL. It seems like it is happening because of the htmltools::htmlEscape call with attribute = TRUE within the internal function pickerSelectOptions, called by pickerInput.
The display of apostrophes (and &, >, <, ", ...) is not rendered correctly in the choices when using
pickerInput
withchoicesOpt
. It appears that the labels specified in thechoices
list are being escaped to their HTML entities.This does not happen when choicesOpt is set to NULL. It seems like it is happening because of the
htmltools::htmlEscape
call withattribute = TRUE
within the internal functionpickerSelectOptions
, called bypickerInput
.