Fix whitespace issues when dealing with nested tags inside a <pre>