Fix pagination elements displayed as escaped HTML in v3 theme.