Commit 7171cae1 authored by Jose Ivan Vargas's avatar Jose Ivan Vargas

Merge branch '241879-Replace-v-html' into 'master'

Replace v-html with v-safe-html in note_signed_out_widget_spec.js

See merge request gitlab-org/gitlab!41219
parents 4e12e75a 0376d7ed
<script>
/* eslint-disable vue/no-v-html */
import { GlSafeHtmlDirective as SafeHtml } from '@gitlab/ui';
import { mapGetters } from 'vuex';
import { __, sprintf } from '~/locale';
export default {
directives: {
SafeHtml,
},
computed: {
...mapGetters(['getNotesDataByProp']),
registerLink() {
......@@ -31,5 +34,5 @@ export default {
</script>
<template>
<div class="disabled-comment text-center" v-html="signedOutText"></div>
<div v-safe-html="signedOutText" class="disabled-comment text-center"></div>
</template>
---
title: Replace v-html with v-safe-html in note_signed_out_widget_spec.js
merge_request: 41219
author: Kev @KevSlashNull
type: other
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