diff options
author | Phil Hughes <me@iamphill.com> | 2017-04-13 07:59:40 +0100 |
---|---|---|
committer | Phil Hughes <me@iamphill.com> | 2017-04-13 07:59:40 +0100 |
commit | b97b05d3950abe5ba55e228d6d82256aca512274 (patch) | |
tree | 39922d89e6fea6a76049faed649646020a66251d | |
parent | d7a527163b64fa38e46fc6195fef2f5d93e47d07 (diff) | |
download | gitlab-ce-notebooklab-sanitize-marked-option.tar.gz |
Sanitize HTML in marked JS librarynotebooklab-sanitize-marked-option
-rw-r--r-- | vendor/assets/javascripts/notebooklab.js | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/vendor/assets/javascripts/notebooklab.js b/vendor/assets/javascripts/notebooklab.js index 601a645b655..1d87c7d6ce3 100644 --- a/vendor/assets/javascripts/notebooklab.js +++ b/vendor/assets/javascripts/notebooklab.js @@ -699,6 +699,10 @@ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { de // // +_marked2.default.setOptions({ + sanitize: true +}); + exports.default = { components: { prompt: _prompt2.default |