Skip to content

Commit

Permalink
fix(sandbox): quote content should be rendered, fix #192
Browse files Browse the repository at this point in the history
  • Loading branch information
shigma committed Jun 24, 2023
1 parent 7a24b0b commit 98b3249
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion plugins/sandbox/client/message.vue
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,9 @@
<div class="nickname">{{ data.user }}</div>
<div class="message-box" @contextmenu.stop="trigger($event, data)">
<blockquote class="quote" v-if="data.quote">
<span class="abstract">{{ data.quote.content }}</span>
<span class="abstract">
<message-content :content="data.quote.content"/>
</span>
</blockquote>
<message-content :content="data.content"/>
</div>
Expand Down
2 changes: 1 addition & 1 deletion plugins/sandbox/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@koishijs/plugin-sandbox",
"description": "Test Your Virtual Bot in Console",
"version": "3.1.6",
"version": "3.1.7",
"main": "lib/index.js",
"typings": "lib/index.d.ts",
"files": [
Expand Down

0 comments on commit 98b3249

Please sign in to comment.