Commit bfc45a5a authored by Denys Mishunov's avatar Denys Mishunov

Merge branch 'revert-89e39704' into 'master'

Revert "Merge branch '241878-Replace-v-html' into 'master'"

See merge request gitlab-org/gitlab!41979
parents d2eb2513 ed740b93
<script>
import { GlIcon, GlSafeHtmlDirective as SafeHtml } from '@gitlab/ui';
/* eslint-disable vue/no-v-html */
import { GlIcon } from '@gitlab/ui';
import ViewerMixin from './mixins';
import { HIGHLIGHT_CLASS_NAME } from './constants';
......@@ -7,9 +8,6 @@ export default {
components: {
GlIcon,
},
directives: {
SafeHtml,
},
mixins: [ViewerMixin],
data() {
return {
......@@ -66,7 +64,7 @@ export default {
</a>
</div>
<div class="blob-content">
<pre class="code highlight"><code id="blob-code-content" v-safe-html="content"></code></pre>
<pre class="code highlight"><code id="blob-code-content" v-html="content"></code></pre>
</div>
</div>
</template>
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment