vendor/assets/javascripts/aloha/plugins/common/contenthandler/lib/sanitizecontenthandler.js in locomotive-aloha-rails-0.20.1.2 vs vendor/assets/javascripts/aloha/plugins/common/contenthandler/lib/sanitizecontenthandler.js in locomotive-aloha-rails-0.20.1.3
- old
+ new
@@ -60,11 +60,11 @@
'sub', 'sup', 'table', 'tbody', 'td', 'tfoot', 'th', 'thead', 'tr', 'u',
'ul', 'span', 'hr', 'object', 'div'
],
attributes: {
- 'a': ['href', 'title', 'id', 'data-gentics-aloha-repository', 'data-gentics-aloha-object-id'],
+ 'a': ['href', 'title', 'id', 'class', 'data-gentics-aloha-repository', 'data-gentics-aloha-object-id'],
'div': [ 'id', 'class'],
'abbr': ['title'],
'blockquote': ['cite'],
'br': ['class'],
'col': ['span', 'width'],
@@ -73,10 +73,11 @@
'ol': ['start', 'type'],
'q': ['cite'],
'table': ['summary', 'width'],
'td': ['abbr', 'axis', 'colspan', 'rowspan', 'width'],
'th': ['abbr', 'axis', 'colspan', 'rowspan', 'scope', 'width'],
- 'ul': ['type']
+ 'ul': ['type'],
+ 'span': ['class']
},
protocols: {
'a': {'href': ['ftp', 'http', 'https', 'mailto', '__relative__']},
'blockquote': {'cite': ['http', 'https', '__relative__']},
\ No newline at end of file