Skip to content

Commit

Permalink
Allow simple inline tables to have html data
Browse files Browse the repository at this point in the history
  • Loading branch information
jolzee committed May 20, 2020
1 parent 826a243 commit 48cc369
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/components/ChatTeneoResponse.vue
Original file line number Diff line number Diff line change
Expand Up @@ -145,12 +145,13 @@
v-for="header in extension.headers"
:key="header + uuid"
class="text-left"
>{{ header }}</th>
v-html="header"
></th>
</tr>
</thead>
<tbody>
<tr v-for="(row, rowIndex) in extension.rows" :key="rowIndex + uuid">
<td v-for="(column, colIndex) in row" :key="colIndex + uuid">{{ column }}</td>
<td v-for="(column, colIndex) in row" :key="colIndex + uuid" v-html="column"></td>
</tr>
</tbody>
</template>
Expand Down

0 comments on commit 48cc369

Please sign in to comment.