diff options
author | Tim Zallmann <tzallmann@gitlab.com> | 2018-06-14 19:37:16 +0200 |
---|---|---|
committer | Tim Zallmann <tzallmann@gitlab.com> | 2018-06-14 19:37:16 +0200 |
commit | 3b2a909ac22b7ac559062973dbd1c951fae3ed43 (patch) | |
tree | f48da067230b94279cb1231c17a6198defd1603c /app/assets | |
parent | 20ca5e3041949c09820fc9e467f7e1b9dd980d6c (diff) | |
download | gitlab-ce-3b2a909ac22b7ac559062973dbd1c951fae3ed43.tar.gz |
Makes the html attribute in the json output optional with the option html_render=false
Diffstat (limited to 'app/assets')
-rw-r--r-- | app/assets/javascripts/ide/services/index.js | 2 |
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) { |