I'm building a string via the following:
pagination +='<li>''<a href="/main/?page=%(current_link)s'+link+'">%(current)s</a></li>' % \
{'current_link': current_link, 'current': current_link}
When viewing the page in the browser, the text shows up fine but the link points to "..%(current_link)s...". I've tried naming both of them 'current_link' in the string itself but that didn't work so I tried the approach above.
Any suggestions?