debug trim leading spaces  in "white-space: pre-wrap;" style context
Prevent possible IndexOutOfBoundsException.
Removed duplicate check.
Merge pull request #59 from jensrutschmann/pre-wrap-fix

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