Commit ed740b93 authored by Olena Horal-Koretska's avatar Olena Horal-Koretska Committed by Denys Mishunov

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

This reverts merge request !41218
parent 30c193a0
<script> <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 ViewerMixin from './mixins';
import { HIGHLIGHT_CLASS_NAME } from './constants'; import { HIGHLIGHT_CLASS_NAME } from './constants';
...@@ -7,9 +8,6 @@ export default { ...@@ -7,9 +8,6 @@ export default {
components: { components: {
GlIcon, GlIcon,
}, },
directives: {
SafeHtml,
},
mixins: [ViewerMixin], mixins: [ViewerMixin],
data() { data() {
return { return {
...@@ -66,7 +64,7 @@ export default { ...@@ -66,7 +64,7 @@ export default {
</a> </a>
</div> </div>
<div class="blob-content"> <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>
</div> </div>
</template> </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