Make transformPre not crash on 0 or 1-line <pre>s.