there's a HTML odditity. That is, line break will be ignored inside
<pre> if the adjacent lines are tags.
see the source code and description here:
http://xahlee.org/js/linebreak_after_tag.html
if anyone know the spec for XML case, please let me know. Thanks.