added support for pagination links with href attribute