<Spelling> - disallow passing value by innerHTML (not reactive and missing whitespaces)
This commit is contained in:
parent
2dd3a16a18
commit
63d2e506b7
|
@ -2,7 +2,7 @@
|
||||||
<div class="my-2" v-if="!deleted">
|
<div class="my-2" v-if="!deleted">
|
||||||
<h3 class="h6">
|
<h3 class="h6">
|
||||||
<Icon :v="source.icon()"/>
|
<Icon :v="source.icon()"/>
|
||||||
<strong><Spelling v-if="source.author">{{source.author.replace('^', '')}}</Spelling><span v-if="source.author"> – </span><em><a v-if="source.link" :href="source.link" target="_blank" rel="noopener"><Spelling :text="addMarks(source.title)"></Spelling></a><Spelling v-else :text="addMarks(source.title)"></Spelling></em></strong><template v-if="source.extra"> (<Spelling :text="source.extra"/>)</template>, {{source.year}}<template v-if="source.comment">; <Spelling :text="source.comment"/></template>
|
<strong><Spelling v-if="source.author" :text="source.author.replace('^', '')"/><span v-if="source.author"> – </span><em><a v-if="source.link" :href="source.link" target="_blank" rel="noopener"><Spelling :text="addMarks(source.title)"></Spelling></a><Spelling v-else :text="addMarks(source.title)"></Spelling></em></strong><template v-if="source.extra"> (<Spelling :text="source.extra"/>)</template>, {{source.year}}<template v-if="source.comment">; <Spelling :text="source.comment"/></template>
|
||||||
</h3>
|
</h3>
|
||||||
<ul class="list-inline" v-if="manage && $isGranted('sources')">
|
<ul class="list-inline" v-if="manage && $isGranted('sources')">
|
||||||
<li v-if="!source.approved" class="list-inline-item">
|
<li v-if="!source.approved" class="list-inline-item">
|
||||||
|
|
Reference in New Issue