Fix issue where multiple lines are detected as the separator.

When multiple lines precede a (Less?) include it would detect them as the separator to use. That meant you'd get empty lines between the include fragments and it would also mess up the includes when replacing.