Well, you want a solution for epub2. With this restriction in mind, you'll need to use an SVG wrapper and assign it the "display: inline-block; width: 100%; margin: 1em 0; text-indent:0" properties. This seems to work:
Inlined_Block_SVG.epub
Crop to content the image before including it in the svg wrapper and use margins (or paddings) to add blank spaces. Of course, I set "margin; 1em 0" but you can set the values you want.