mirror of
https://github.com/rstudio/shiny.git
synced 2026-02-06 12:44:58 -05:00
Escape ID
This commit is contained in:
@@ -76,7 +76,7 @@ exports.notifications = (function() {
|
||||
|
||||
// Returns an individual notification DOM object (wrapped in jQuery).
|
||||
function get(id) {
|
||||
return _getPanel().find('#shiny-notification-' + id);
|
||||
return _getPanel().find('#shiny-notification-' + $escape(id));
|
||||
}
|
||||
|
||||
// Return array of all notification IDs
|
||||
|
||||
Reference in New Issue
Block a user