mirror of
https://github.com/lingble/chatwoot.git
synced 2025-10-30 10:42:38 +00:00
Bug: Render header title and tagline as HTML (#906)
* Render header title and tagline as HTML
This commit is contained in:
@@ -2,9 +2,7 @@
|
|||||||
<header class="header-collapsed">
|
<header class="header-collapsed">
|
||||||
<div class="header-branding">
|
<div class="header-branding">
|
||||||
<img v-if="avatarUrl" :src="avatarUrl" alt="avatar" />
|
<img v-if="avatarUrl" :src="avatarUrl" alt="avatar" />
|
||||||
<h2 class="title">
|
<h2 class="title" v-html="title"></h2>
|
||||||
{{ title }}
|
|
||||||
</h2>
|
|
||||||
</div>
|
</div>
|
||||||
<span class="close-button" @click="closeWindow"></span>
|
<span class="close-button" @click="closeWindow"></span>
|
||||||
</header>
|
</header>
|
||||||
|
|||||||
@@ -2,12 +2,8 @@
|
|||||||
<header class="header-expanded">
|
<header class="header-expanded">
|
||||||
<img v-if="avatarUrl" class="logo" :src="avatarUrl" />
|
<img v-if="avatarUrl" class="logo" :src="avatarUrl" />
|
||||||
<span class="close close-button" @click="closeWindow"></span>
|
<span class="close close-button" @click="closeWindow"></span>
|
||||||
<h2 class="title">
|
<h2 class="title" v-html="introHeading"></h2>
|
||||||
{{ introHeading }}
|
<p class="body" v-html="introBody"></p>
|
||||||
</h2>
|
|
||||||
<p class="body">
|
|
||||||
{{ introBody }}
|
|
||||||
</p>
|
|
||||||
</header>
|
</header>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user