Handle invalid code sequences in Html::encode()
Changelog update