2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-04-29 12:06:44 +00:00

Enable rendering of table in Notes markdown into reports (#4081)

* Enable rendering of table in Notes markdown into reports

* fixed style problems
This commit is contained in:
Michael 2022-12-20 23:24:14 +01:00 committed by GitHub
parent fb3440947d
commit 4f9d51b329
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -789,6 +789,9 @@ MARKDOWNIFY = {
'src', 'src',
'alt', 'alt',
], ],
'MARKDOWN_EXTENSIONS': [
'markdown.extensions.extra'
],
'WHITELIST_TAGS': [ 'WHITELIST_TAGS': [
'a', 'a',
'abbr', 'abbr',
@ -802,7 +805,13 @@ MARKDOWNIFY = {
'ol', 'ol',
'p', 'p',
'strong', 'strong',
'ul' 'ul',
'table',
'thead',
'tbody',
'th',
'tr',
'td'
], ],
} }
} }