mirror of
https://github.com/inventree/InvenTree.git
synced 2025-06-18 04:55:44 +00:00
Sanitize data before displaying in markdown editor (#3205)
* Sanitize data before displaying in markdown editor * Use the sanitize option provided by easymde * Spelling fix
This commit is contained in:
@ -274,6 +274,11 @@ function setupNotesField(element, url, options={}) {
|
||||
initialValue: initial,
|
||||
toolbar: toolbar_icons,
|
||||
shortcuts: [],
|
||||
renderingConfig: {
|
||||
markedOptions: {
|
||||
sanitize: true,
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user