summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhil Hughes <me@iamphill.com>2017-04-13 08:03:58 +0100
committerPhil Hughes <me@iamphill.com>2017-04-13 08:04:40 +0100
commit2f36c5497cd9850035150641e72f90e42811df5c (patch)
tree86a44c7e35716ea9e889049a936d22006c0fc86b
parent2c643a552e911be09d543d06537c7a3113f9bb93 (diff)
downloadgitlab-ce-2f36c5497cd9850035150641e72f90e42811df5c.tar.gz
Pulled in latest changes from NotebookLab
-rw-r--r--app/assets/javascripts/notebook/cells/markdown.vue4
1 files changed, 4 insertions, 0 deletions
diff --git a/app/assets/javascripts/notebook/cells/markdown.vue b/app/assets/javascripts/notebook/cells/markdown.vue
index edbba94811e..4e0e60284f1 100644
--- a/app/assets/javascripts/notebook/cells/markdown.vue
+++ b/app/assets/javascripts/notebook/cells/markdown.vue
@@ -10,6 +10,10 @@
import marked from 'marked';
import Prompt from './prompt.vue';
+ marked.setOptions({
+ sanitize: true,
+ });
+
export default {
components: {
prompt: Prompt,