Well for starters the [-- LOOP LINKS --] is listing page links not products so you might want to chance the class name to GeneratedPageLinksList. So maybe the GeneratedProductList style is causing the issue.
How many pages do you have assigned to the page? Using this code if you only have one page assigned to the page being generated you would have the link to that page followed by a |. And if you have multiple pages assigned to the page you will have each page link followed by a |, including the last link. So if you had 3 pages assigned to the page you would see
- Code: Select all
Page1 link | Page 2 link| Page 3 link |
I don't know if you want the | after the last link or not but if not then you would need to change the coding to not display the last |.