Fix lint error: use const instead of let for cleaned variable

This commit is contained in:
PEDZEO
2026-01-21 05:17:35 +03:00
parent 4c5fe78cf3
commit ad5347a8b4

View File

@@ -17,7 +17,7 @@ export function formatSettingKey(name: string): string {
// Strip HTML tags and template descriptions from setting descriptions
export function stripHtml(html: string): string {
if (!html) return ''
let cleaned = html
const cleaned = html
.replace(/<[^>]*>/g, '')
.replace(/&nbsp;/g, ' ')
.replace(/&amp;/g, '&')