Hide pre tag when no contents