debug trim leading spaces  in "white-space: pre-wrap;" style context

Fixes an issue with leading whitepsaces being trimmed although white-space: pre-wrap; is set.