I am filing a related common problem we meet at it.wp.
We had troubles with nowikis being thrown right after some templates when the
user did not add an extra space there, but simply edited something in that
We actually found a workaround for this:
but since this addition is apparently a nonsense, users demand that VE prevents
that behaviour instead.
They also think this is related to templates featuring some kind of table.
I did some tests as well.
I was able to reproduce an unwanted situation where the first line and the
table (which is actually a template) were mingled in a non-editable block
But I was also able to avoid nowikis, even if the extra span tags were not
added to the template: as you can see here
if the first letter of the line is actually closer to the template's final
brace (with no space between), VEditing that page will result in the text
getting automatically placed in a better position, and no nowikis in sight,
even after multiple saves of the page.