Open yurivish opened 1 year ago
Describe the bug Toggling bold on interpolated code with a ** turns syntactically correct JavaScript into a syntax error
**
To Reproduce Steps to reproduce the behavior: https://observablehq.com/d/bbcf48b517d7a623
1.
highlight then press cmd+b or click the bold B button
evaluating the cell now shows a syntax error
Expected behavior **{2**m}**
**{2**m}**
Desktop (please complete the following information): Chrome 112, macOS, laptop
Describe the bug Toggling bold on interpolated code with a
**
turns syntactically correct JavaScript into a syntax errorTo Reproduce Steps to reproduce the behavior: https://observablehq.com/d/bbcf48b517d7a623
1.![image](https://user-images.githubusercontent.com/114388/231789756-b83e1e41-08ed-4fc5-b59e-04d3f7623db8.png)
highlight then press cmd+b or click the bold B button![image](https://user-images.githubusercontent.com/114388/231789783-858d7551-6f75-4033-9b6f-b1ce34d715cd.png)
evaluating the cell now shows a syntax error![image](https://user-images.githubusercontent.com/114388/231789954-9e1fa440-9b13-47ea-a32a-d3d6216a7498.png)
Expected behavior
**{2**m}**
Desktop (please complete the following information): Chrome 112, macOS, laptop