Pre can end with a space

 * Test case would be: <pre style="width:50%;" >{{hi}}</pre>

 * Fixes a crasher on ptwiki:Predefinição:Sistema_de_classificação

Introduced in: 070efb2f96e8a4a1424f9cbf07188b049327b735
Relevant commit: 3eb221d0787685ec1b2869bc8a35f28a00c5166e

Bug: 58355
Change-Id: I6a63144f58f58f72c8df7a00db5589c09026a675
Merge "Pre can end with a space"