Fix indentation display in HTML reporter on windows

On Windows (at least with chrome), the source code of the function has
\r\n has return char. We need to normalize this before manipulating  it