Preserve formatting inside a pre element