Formatter pre testing

Here's the logic I currently have for fixing the <pre> tag errors.

https://issues.liferay.com/browse/LPS-34069