posit-dev / publisher

MIT License
3 stars 0 forks source link

Add implicit newlines between notebook code cells #1770

Closed mmarchetti closed 1 month ago

mmarchetti commented 1 month ago

Intent

This PR fixes a bug in how we extract Python code from notebook cells.

Fixes #1769

Type of Change

Approach

There is an implied newline between notebook code cells; this PR introduces it explicitly when extracting the code.

Automated Tests

Updated existing unit tests.

Directions for Reviewers

Verify this fixes the linked issue.