ePub sometimes adds newline after endnote link

When I compile to PDF the word after the endnote link follows correctly. But when I compile for ePub Scrivener sometimes adds a newline so that word following the link is on the next line and indented as a new paragraph.

Yes, this is a known bug that we have logged to look into for the next update.

In the meanwhile it is easy to avoid, just make sure the notes exhibiting this problem do not have empty lines at the end of the footnote. It is fine for there to be empty lines between text, just not at the very end. I would think in most cases you wouldn’t really want that anyway!