This commit is contained in:
2026-01-06 13:55:04 +01:00
parent 297de69928
commit f991ea6b9b
393 changed files with 41362 additions and 4811 deletions

9
scripts/debug-test.js Normal file
View File

@@ -0,0 +1,9 @@
const { processShortcodes } = require('../lib/html-compat.ts');
const input = '[vc_row bg_image="”10440″" color_overlay="“#000000”"]content[/vc_row]';
console.log('Input:', input);
const result = processShortcodes(input);
console.log('Result:', result);
console.log('Contains bg image?', result.includes('background-image'));
console.log('Style attribute:', result.match(/style="([^"]*)"/)?.[1]);