mirror of
https://github.com/coalaura/whiskr.git
synced 2025-09-08 17:06:42 +00:00
small fix
This commit is contained in:
@@ -281,7 +281,7 @@
|
||||
if (!only || only === "text") {
|
||||
let text = this.#text;
|
||||
|
||||
if (this.#tags.includes("json")) {
|
||||
if (text && this.#tags.includes("json")) {
|
||||
text = `\`\`\`json\n${text}\n\`\`\``;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user