don't truncate after additional ...

Currently, if you have additional ... after the header it will be truncated.

Instead of using `split` we're using a slightly more explicit `indexOf` check.