cgcardona / muse public
fix main #42 / 100

fix: escape backslash-n in JS split() call inside Python template string (#97)

The template string used '\n' (Python newline) inside a single-quoted JavaScript string literal, producing a literal newline in the output and causing SyntaxError: Invalid or unexpected token in the browser.

Co-authored-by: Gabriel Cardona <gabriel@tellurstori.com>

G Gabriel Cardona <cgcardona@gmail.com> · 1d ago Mar 19, 2026 · 8d1c0847 · parent 8c11c369
oldest
newest 59%

Snapshot Diff

213 files in tree
~1

Comments

0

No comments yet. Be the first to start the discussion.