Re-allow title attribute in <abbr> (#2254)
* Re-allow title attribute in <abbr>
This was accidentally removed in 7623e18124
Signed-off-by: Plastikmensch <plastikmensch@users.noreply.github.com>
* Add test
Add a new test to check that title attribute on <abbr> is kept.
Signed-off-by: Plastikmensch <plastikmensch@users.noreply.github.com>
---------
Signed-off-by: Plastikmensch <plastikmensch@users.noreply.github.com>
This commit is contained in:
@ -74,6 +74,7 @@ class Sanitize
|
||||
|
||||
attributes: {
|
||||
'a' => %w(href rel class title),
|
||||
'abbr' => %w(title),
|
||||
'span' => %w(class),
|
||||
'blockquote' => %w(cite),
|
||||
'ol' => %w(start reversed),
|
||||
|
Reference in New Issue
Block a user