Skip to content

Commit ee45313

Browse files
ramakrishnamundrupi0
authored andcommitted
tab title can be HTML (bootstrap-vue#262)
1 parent a8e6f22 commit ee45313

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

lib/components/tabs.vue

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,8 @@
1212
:href="tab.href"
1313
@click.prevent.stop="setTab(index)"
1414
v-if="!tab.headHtml"
15-
>{{ tab.title }}</a>
15+
v-html="tab.title"
16+
></a>
1617
<div :class="['tab-head',{small: small, active: tab.localActive, disabled: tab.disabled}]"
1718
v-else
1819
v-html="tab.headHtml"></div>

0 commit comments

Comments
 (0)