Before reporting to GITHUB...
If I want a line between two images for example, the line is never in the middle. It seems attracted by the second image...
It's rendered as horizontal rule (<hr>). You can check it in the development tools: Help -> Toggle development tools.
It appears that the offset is caused by different margins of the paragraphs above and below. After removing the margins, the line seems to be vertically centered: