Less warnings in lib

You would get the exact same string as it doesn't have a '\n', if `LINE_SEPARATOR` is a '\n' then it would be escaped.

This PR is to please nitdoc and remove warnings, not so much to add more features to abandoned platforms...