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:
parent
fb3440947d
commit
4f9d51b329
@ -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'
|
||||||
],
|
],
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user