Add space between caption and inline image - fixes #2152