Fix comment permalinks and html display