summaryrefslogtreecommitdiff
path: root/app/assets/javascripts
diff options
context:
space:
mode:
authorTim Zallmann <tzallmann@gitlab.com>2018-06-14 19:37:16 +0200
committerTim Zallmann <tzallmann@gitlab.com>2018-06-14 19:37:16 +0200
commit3b2a909ac22b7ac559062973dbd1c951fae3ed43 (patch)
treef48da067230b94279cb1231c17a6198defd1603c /app/assets/javascripts
parent20ca5e3041949c09820fc9e467f7e1b9dd980d6c (diff)
downloadgitlab-ce-3b2a909ac22b7ac559062973dbd1c951fae3ed43.tar.gz
Makes the html attribute in the json output optional with the option html_render=false
Diffstat (limited to 'app/assets/javascripts')
-rw-r--r--app/assets/javascripts/ide/services/index.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/assets/javascripts/ide/services/index.js b/app/assets/javascripts/ide/services/index.js
index e8b51f2b516..a8b9afa35d9 100644
--- a/app/assets/javascripts/ide/services/index.js
+++ b/app/assets/javascripts/ide/services/index.js
@@ -9,7 +9,7 @@ export default {
return Vue.http.get(endpoint, { params: { format: 'json' } });
},
getFileData(endpoint) {
- return Vue.http.get(endpoint, { params: { format: 'json' } });
+ return Vue.http.get(endpoint, { params: { format: 'json', html_render: 'false' } });
},
getRawFileData(file) {
if (file.tempFile) {