Speakr is a personal, self-hosted web application designed for transcribing audio recordings
Python
Stop the raw-block comment from acting as a real Jinja tag in the account preview
Murtaza Nasire463361e4d85
diff --git a/templates/account.html b/templates/account.htmlindex 367de836..dba8583d 100644--- a/templates/account.html+++ b/templates/account.html@@ -2638,11 +2638,10 @@ curl "https://your-speakr-instance.com/api/recordings?token=YOUR_TOKEN_HERE"</co// Full LLM prompt structure preview// ====================================================// Pure-JS render (account page is Jinja-only, no Vue). Builds the- // chip markup as real DOM nodes — never innerHTML — so the chip- // injection cannot interpret user-supplied text as HTML.- // Wrapped in {% raw %} because the function body contains JS like- // `'{{' + name + '}}'` which Jinja would otherwise parse as- // expression delimiters and replace with empty / literal strings.+ // chip markup as real DOM nodes - never innerHTML - so the chip+ // injection cannot interpret user-supplied text as HTML. The whole+ // function body is inside a Jinja raw block because it contains+ // literal double-brace strings that Jinja would otherwise eat.{% raw %}(function setupFullPromptPreview() {const toggleBtn = document.getElementById('toggleFullPromptStructure');