Sometimes, we got the code written on other application, and we would copy the code and paste it in the webpage.
Then we can find that each line with indentation, get another unexpected redundant indentation than the line above, and the indentation become more and more in the flowing lines.
Same problem can be found in vim or vs code if the setting is not proper.
Steps to reproduce
When I use mermaid.live with my firefox on linux, if I paste code with indentation, it will happen.
And I had tested chrome, things didn't happened.
Description
Sometimes, we got the code written on other application, and we would copy the code and paste it in the webpage. Then we can find that each line with indentation, get another unexpected redundant indentation than the line above, and the indentation become more and more in the flowing lines. Same problem can be found in vim or vs code if the setting is not proper.
Steps to reproduce
When I use mermaid.live with my firefox on linux, if I paste code with indentation, it will happen. And I had tested chrome, things didn't happened.
Screenshots
Code Sample
No response
Setup
Suggested Solutions
No response
Additional Context
No response