summaryrefslogtreecommitdiffstats
path: root/assets/playground.html
diff options
context:
space:
mode:
Diffstat (limited to 'assets/playground.html')
-rw-r--r--assets/playground.html3
1 files changed, 1 insertions, 2 deletions
diff --git a/assets/playground.html b/assets/playground.html
index 06e2e62..34379e4 100644
--- a/assets/playground.html
+++ b/assets/playground.html
@@ -1528,9 +1528,8 @@
}
},
renderer(token) {
- const isOpen = !token.raw.endsWith('</think>');
const text = '<p>' + token.text.trim().replace(/\n+/g, '</p><p>') + '</p>';
- return `<details ${isOpen ? "open" : ""} class="think">
+ return `<details open class="think">
<summary>Deeply thought</summary>
<blockquote>${text}</blockquote>
</details>`;