Hello,
Just started using AnythingRating for my site great Add-on by the way and found something I would like to fix but don’t know how.
Before you vote the rating system is not xhtml Transitional valid:
<ul id="rater_39" class="star-rating">
<li class="current-rating" style="width:0%;"></li>
<li><a onclick="rate('20','Articles','39');return false;" href="/tns/39?q=tns/39&atrGrp=Articles&atrId=39&rating=20" title="1 star out of 5" class="stars1" >1</a></li>
<li><a onclick="rate('40','Articles','39');return false;" href="/tns/39?q=tns/39&atrGrp=Articles&atrId=39&rating=40" title="2 stars out of 5" class="stars2" >2</a></li>
<li><a onclick="rate('60','Articles','39');return false;" href="/tns/39?q=tns/39&atrGrp=Articles&atrId=39&rating=60" title="3 stars out of 5" class="stars3" >3</a></li>
<li><a onclick="rate('80','Articles','39');return false;" href="/tns/39?q=tns/39&atrGrp=Articles&atrId=39&rating=80" title="4 stars out of 5" class="stars4" >4</a></li>
<li><a onclick="rate('100','Articles','39');return false;" href="/tns/39?q=tns/39&atrGrp=Articles&atrId=39&rating=100" title="5 stars out of 5" class="stars5" >5</a></li>
</ul>
But once you vote it is xhtml Transitional valid:
<ul id="rater_39" class="star-rating2">
<li class="current-rating" style="width:100%;"></li>
<li><a onclick="return false;" href="/tns/39" title="1 star out of 5" class="stars1" >1</a></li>
<li><a onclick="return false;" href="/tns/39" title="2 stars out of 5" class="stars2" >2</a></li>
<li><a onclick="return false;" href="/tns/39" title="3 stars out of 5" class="stars3" >3</a></li>
<li><a onclick="return false;" href="/tns/39" title="4 stars out of 5" class="stars4" >4</a></li>
<li><a onclick="return false;" href="/tns/39" title="5 stars out of 5" class="stars5" >5</a></li>
</ul>
As you can see it uses the "&" symbol when it should use the "&" instead so it’s valid.
Now am no Modx Add-on specialist, actually I am just starting to learn some Modx Code if you will allow that term and I don’t know how to change the "&" to "&"
Any help would be nice since it’s the only non xhtml valid thing on my site and I try to keep my sites xhtml.
-FireDart