Merge pull request #68 from BEDOLAGA-DEV/main

Fix lint error: use const instead of let for cleaned variable
This commit is contained in:
Egor
2026-01-21 05:30:22 +03:00
committed by GitHub

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, '&')