mirror of
https://github.com/munki/munki.git
synced 2026-04-22 20:48:36 -05:00
Don't strip <br> tags from description html
This commit is contained in:
@@ -41,7 +41,7 @@ class MSUHTMLFilter(HTMLParser):
|
||||
ignore_elements = ['script', 'style', 'head', 'table', 'form']
|
||||
# preserve these tags
|
||||
preserve_tags = ['a', 'b', 'i', 'strong', 'em', 'small', 'sub', 'sup', 'ins',
|
||||
'del', 'mark', 'span']
|
||||
'del', 'mark', 'span', 'br']
|
||||
# transform these tags
|
||||
transform_starttags = { 'ul': '<br>',
|
||||
'ol': '<br>',
|
||||
|
||||
Reference in New Issue
Block a user