Fixed double <li><li></li></li> in paginator links

Fixed double <li><li></li></li> in paginator links.
This avoid outputing invalid HTML code *and* solve the issue of the missing left border for the "Previous" paginator button when not on the first page.
Merge pull request #113 from adriencarbonne/patch-1

Fixed double <li><li></li></li> in paginator links