The Link Widget renders links as:
* Link title
description
http://the.actual.url
the link in the title is correctly rendered, but the link under the title (http://....) is HTML-escaped, hence http://site.com/site/?p=1&s=2 becomes http://site.com/site/?p=1&s=2
which is incorrect. This occurs both in Web documents and in Link documents.
probably the idea was to quote them instead (from urllib import quote)?
<a href="" tal:attributes="href href_url;title title|nothing;"> <<<<<<<<<<<<<< OK
<strong tal:content="structure python: test(content, content, href_url)" />
</a>
<tal:block condition="has_byline">
<span tal:define="byline python: cells[3]['widget_rendered'];"
tal:content="structure byline" />
</tal:block>
<div style="padding-left: 1.5em;">
<span tal:condition="title" tal:content="structure title" />
<div tal:content="structure href" /> <<<<<<<<<<<<<<<<<< HTML-escaped
</div>