forked from rDrama/rDrama
1
0
Fork 0
master
Aevann1 2021-11-04 17:41:18 +02:00
parent 0642f38cae
commit 765b595e35
2 changed files with 6 additions and 1 deletions

View File

@ -79,7 +79,7 @@ allowed_attributes = {'*': ['href', 'style', 'src', 'class', 'title', 'rel', 'da
allowed_protocols = ['http', 'https']
allowed_styles = ['color', 'font-weight', 'transform', '-webkit-transform']
allowed_styles = ['color', 'background-color', 'font-weight', 'transform', '-webkit-transform']
def sanitize(sanitized, noimages=False):

View File

@ -475,6 +475,11 @@ line breaks
<td></td>
<td></td>
</tr>
<tr>
<td>background-color</td>
<td></td>
<td></td>
</tr>
<tr>
<td>font-weight</td>
<td></td>