fragments html rendering slightly acceptable