Removed logic of sending innerHTML for pre and code tags
Enhanced logic for handling pre and code blocks. Also fixed whitespace handling in span blocks
Improved Unit tests for pre and code blocks.