marimo-team / marimo

A reactive notebook for Python — run reproducible experiments, execute as a script, deploy as an app, and version with git.
https://marimo.io
Apache License 2.0
6.62k stars 225 forks source link

fix: replace nbsp with space #1551

Closed akshayka closed 4 months ago

akshayka commented 4 months ago

Some browsers might send the nbsp character (U00A0) instead of spaces, causing syntax errors when trying to run Python.

This change uniformly replaces nbsp characters with spaces when compiling code.

This seems okay to me, but not sure if this has second-order effects that I'm unaware of ...

Fixes #1546

vercel[bot] commented 4 months ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
marimo-docs ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jun 3, 2024 10:49pm
marimo-storybook ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jun 3, 2024 10:49pm
github-actions[bot] commented 4 months ago

🚀 Development release published. You may be able to view the changes at https://marimo.app?v=0.6.15-dev2