Skip to content

Commit

Permalink
Make it possible to render unescaped text
Browse files Browse the repository at this point in the history
  • Loading branch information
markwalet committed Jan 27, 2023
1 parent 0e18e1f commit fb27407
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion dist/js/asset.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion resources/js/components/ModalActionResponse.vue
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@
>
<ModalHeader v-text="data.title"/>
<ModalContent>
<code>{{ data.body }}</code>
<code v-if="data.html" v-html="data.html" />
<code v-if="data.body" v-text="data.body" />
</ModalContent>
<ModalFooter>
<div class="flex items-center ml-auto">
Expand Down

0 comments on commit fb27407

Please sign in to comment.