Fix grid template, avoid html entities to be basterdized.