fix bug in hentry_parser when no permalinks