This project is read-only.

HTML Compliance

Jan 11, 2012 at 6:09 AM

I am using this in a website I am building, and it does a great job. Thanks for building it.

 

The only issue I've run into is around HTML compliance. When I use it on my site, it generates HTML like below. The problem is with the disabled attribute on the <a>, and the lack of & encoding in the links (i.e. & is not encoded as &amp;).

 

<!--MvcPager 1.5 for ASP.NET MVC 3.0 © 2009-2011 Webdiyer (http://en.webdiyer.com)-->
<div class="page-navigation"><a disabled="disabled">First</a>&nbsp;&nbsp;<a disabled="disabled">Prev</a>&nbsp;&nbsp;1&nbsp;&nbsp;<a href='/Tax/Statements?pageSize=10&page=2'>2</a>&nbsp;&nbsp;<a href='/Tax/Statements?pageSize=10&page=2'>Next</a>&nbsp;&nbsp;<a href='/Tax/Statements?pageSize=10&page=2'>Last</a></div>
<!--MvcPager 1.5 for ASP.NET MVC 3.0 © 2009-2011 Webdiyer (http://en.webdiyer.com)-->