Skip to content

Commit

Permalink
fix(textAngular-santitize): Fix for internal model ignores style attr #…
Browse files Browse the repository at this point in the history
  • Loading branch information
JoelParke committed Oct 19, 2015
1 parent 81506c9 commit 9fc7288
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/textAngular-sanitize.js
Original file line number Diff line number Diff line change
Expand Up @@ -535,6 +535,14 @@ function validStyles(styleAttr){
|| value === 'justify'
)
||
key === 'text-decoration' && (
value === 'underline'
|| value === 'line-through'
)
|| key === 'font-weight' && (
value === 'bold'
)
||
key === 'float' && (
value === 'left'
|| value === 'right'
Expand Down

0 comments on commit 9fc7288

Please sign in to comment.