Decode entities when used with php < 5.3.6.