Content after inline partials is not ignored (fixes #1024)