diff options
author | Filipa Lacerda <filipa@gitlab.com> | 2016-11-21 14:45:22 +0300 |
---|---|---|
committer | Filipa Lacerda <filipa@gitlab.com> | 2016-11-21 14:45:22 +0300 |
commit | 903c81327f3e443a84ba24cfc68be635a3904722 (patch) | |
tree | 09628f7bede7533e90ca7a5a7ff266634922cd7c /app/assets/javascripts/vue_common_component/commit.js.es6 | |
parent | b98193c55edc94b3ecf1ff143ac85fa9e9d8f029 (diff) |
Remove v-html
Diffstat (limited to 'app/assets/javascripts/vue_common_component/commit.js.es6')
-rw-r--r-- | app/assets/javascripts/vue_common_component/commit.js.es6 | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/app/assets/javascripts/vue_common_component/commit.js.es6 b/app/assets/javascripts/vue_common_component/commit.js.es6 index fd628fad4d7..1bc68c1ba2f 100644 --- a/app/assets/javascripts/vue_common_component/commit.js.es6 +++ b/app/assets/javascripts/vue_common_component/commit.js.es6 @@ -138,16 +138,15 @@ <a v-if="hasRef" class="monospace branch-name" - :href="ref.ref_url" - v-html="ref.name"> + :href="ref.ref_url"> + {{ref.name}} </a> - <div class="icon-container commit-icon commit-icon-container"> - </div> + <div class="icon-container commit-icon commit-icon-container"></div> <a class="commit-id monospace" - :href="commit_url" - v-html="short_sha"> + :href="commit_url"> + {{short_sha}} </a> <p class="commit-title"> @@ -156,14 +155,15 @@ class="avatar-image-container" :href="author.web_url"> <img - class="avatar has-tooltip s20" + class="avatar has-tooltip s20" :src="author.avatar_url" :alt="userImageAltDescription" :title="author.username" /> </a> <a class="commit-row-message" - :href="commit_url" v-html="title"> + :href="commit_url"> + {{title}} </a> </span> <span v-else> |