We have a rule for this (pre_indent_in_tags) but it looks pathological and I'm going to disable it for now because it doesn't match (the end tag isn't reachable).
<pre class="123">hi</pre>
parses as,
<pre><pre class="123">hi</pre></pre>
but in php,
<pre class="123">hi</pre>