Proposed fix for Issue #24

Replaced \n with \s*