mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-06-02 17:09:44 +00:00
Merge pull request #338 from helsinki-systems/escape-css-selectors
fix(calendar(js)): escape CSS selector names (@leonklingele)
This commit is contained in:
@@ -26,11 +26,11 @@
|
||||
template: [
|
||||
'<style type="text/css">',
|
||||
/* Background color */
|
||||
' .bg-category{{ ngModel.id }} {',
|
||||
' .bg-category{{ ngModel.id | cssEscape }} {',
|
||||
' background-color: {{ ngModel.color }} !important;',
|
||||
' }',
|
||||
/* Border color */
|
||||
' .bdr-category{{ ngModel.id }} {',
|
||||
' .bdr-category{{ ngModel.id | cssEscape }} {',
|
||||
' border-color: {{ ngModel.color }} !important;',
|
||||
' }',
|
||||
'</style>'
|
||||
|
||||
Reference in New Issue
Block a user