There have been a few other issues with the exported SVG not matching the Sketch preview, however I wasn’t able to find any specific examples as I either found workarounds or changed the design.
I have one question: how did you create the path? If I export your document, I get the unexpected effect, but if I trace a path just like yours in Sketch, with the same border settings, I get the expected result in SVG.
Take a look at the attached file. It was done with the latest Sketch version: 2025.2.1
I started this design a while ago, but I think I made a circle and then edited it to be what it is now. I have a few other cut circles in the design and they have the same issue.
Looks like it!
It seems to only be an issue when there’s a circle that’s cut down and given an Inside border type with rounded caps.
I tried a whole bunch of stuff, and both the Scissors and Open Path button set the border to Inside automatically. Copy/Paste Styles, however, will let me set it back to be Inside (just duplicate the starting circle, cut one, and then paste the styles from the other). I probably unknowingly did that and didn’t realize/didn’t care that it set the border to be Inside.