Skip to content

Commit

Permalink
Enable "sanitize" option for EasyMDE editor (#3206)
Browse files Browse the repository at this point in the history
* Enable "sanitize" option for EasyMDE editor

* Bump version number
  • Loading branch information
SchrodingersGat committed Jun 16, 2022
1 parent 26bf51c commit b9c6cd7
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion InvenTree/InvenTree/version.py
Expand Up @@ -12,7 +12,7 @@
from InvenTree.api_version import INVENTREE_API_VERSION

# InvenTree software version
INVENTREE_SW_VERSION = "0.7.2"
INVENTREE_SW_VERSION = "0.7.3"


def inventreeInstanceName():
Expand Down
5 changes: 5 additions & 0 deletions InvenTree/templates/js/translated/helpers.js
Expand Up @@ -266,6 +266,11 @@ function setupNotesField(element, url, options={}) {
initialValue: initial,
toolbar: toolbar_icons,
shortcuts: [],
renderingConfig: {
markedOptions: {
sanitize: true,
}
}
});


Expand Down

0 comments on commit b9c6cd7

Please sign in to comment.