Fixing pagination item html