fix: remove unused safePrompt variable in admin.js showFullPrompt

textContent already treats text as literal, so the escapeHtml() call
was redundant. Removes the unused variable flagged by code quality bot.
This commit is contained in:
Vito Sansevero
2026-02-07 13:07:38 -08:00
parent 113d663fce
commit 55376b4752
-1
View File
@@ -2541,7 +2541,6 @@ Seed: ${this.currentMetadata.seed || 'Unknown'}`;
if (!this.currentMetadata) return;
const prompt = type === 'positive' ? this.currentMetadata.positivePrompt : this.currentMetadata.negativePrompt;
const safePrompt = this.escapeHtml(prompt);
const safeType = this.escapeHtml(type.charAt(0).toUpperCase() + type.slice(1));
const newWindow = window.open('', '_blank');
const doc = newWindow.document;