observablehq / feedback

Customer submitted bugs and feature requests
42 stars 3 forks source link

Cannot import notebook if any cell name contains invalid characters #478

Closed mootari closed 1 year ago

mootari commented 1 year ago

Describe the bug

Follow-up to #423

Notebooks that still contain invalid names cannot be imported because their compiled module code contains syntax errors. Examples:

CobusT commented 1 year ago

I think these will just have to be updated with valid names. Thanks for pointing them out.

mootari commented 1 year ago

For posterity: For the purpose of compilation invalid names are now treated as unnamed (which makes sense since they cannot be referenced in JS anyway). Anchor links continue to work.