2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-04-28 19:46:46 +00:00

Enable "sanitize" option for EasyMDE editor (#3206)

* Enable "sanitize" option for EasyMDE editor

* Bump version number
This commit is contained in:
Oliver 2022-06-16 13:31:20 +10:00 committed by GitHub
parent 26bf51c20a
commit b9c6cd70d4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 1 deletions

View File

@ -12,7 +12,7 @@ import common.models
from InvenTree.api_version import INVENTREE_API_VERSION from InvenTree.api_version import INVENTREE_API_VERSION
# InvenTree software version # InvenTree software version
INVENTREE_SW_VERSION = "0.7.2" INVENTREE_SW_VERSION = "0.7.3"
def inventreeInstanceName(): def inventreeInstanceName():

View File

@ -266,6 +266,11 @@ function setupNotesField(element, url, options={}) {
initialValue: initial, initialValue: initial,
toolbar: toolbar_icons, toolbar: toolbar_icons,
shortcuts: [], shortcuts: [],
renderingConfig: {
markedOptions: {
sanitize: true,
}
}
}); });