fix: escape backslash-n in JS split() call inside Python template string (#97) (#98)
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>
Snapshot Diff
213 files in tree
~140
-29
docs/README.md
.md
muse/cli/app.py
.py
muse/domain.py
.py
docs/reference/cli-tiers.md
.md
docs/reference/remotes.md
.md
muse/cli/commands/clone.py
.py
muse/cli/commands/fetch.py
.py
muse/cli/commands/plumbing/__init__.py
.py
muse/cli/commands/plumbing/cat_object.py
.py
muse/cli/commands/plumbing/commit_graph.py
.py
muse/cli/commands/plumbing/commit_tree.py
.py
muse/cli/commands/plumbing/hash_object.py
.py
muse/cli/commands/plumbing/ls_files.py
.py
muse/cli/commands/plumbing/ls_remote.py
.py
muse/cli/commands/plumbing/pack_objects.py
.py
muse/cli/commands/plumbing/read_commit.py
.py
muse/cli/commands/plumbing/read_snapshot.py
.py
muse/cli/commands/plumbing/rev_parse.py
.py
muse/cli/commands/plumbing/unpack_objects.py
.py
muse/cli/commands/plumbing/update_ref.py
.py
muse/cli/commands/pull.py
.py
muse/cli/commands/push.py
.py
muse/cli/commands/remote.py
.py
muse/core/pack.py
.py
muse/core/transport.py
.py
tests/test_cli_clone.py
.py
tests/test_cli_fetch_push.py
.py
tests/test_cli_plumbing.py
.py
tests/test_cli_remote.py
.py
tests/test_core_pack.py
.py
tests/test_core_transport.py
.py
tests/test_scaffold_plugin.py
.py
Comments
0No comments yet. Be the first to start the discussion.