migration wip

This commit is contained in:
2025-12-30 16:19:42 +01:00
parent 65a7e9f24a
commit 4ae6b36da9
149 changed files with 32034 additions and 34406 deletions

15
test-decode2.js Normal file
View File

@@ -0,0 +1,15 @@
// Test decoding actual HTML entities from file
const text = 'bg_image=”45569″';
console.log('Original:', text);
// Decode decimal HTML entities
const decoded = text
.replace(/”/g, '"') // ” -> "
.replace(/″/g, '"') // ″ -> "
.replace(/“/g, '"') // “ -> "
.replace(//g, "'") // -> '
.replace(//g, "'") // -> '
.replace(//g, '-'); // -> -
console.log('Decoded:', decoded);
console.log('Match:', decoded === 'bg_image="45569"');