I use a project that makes use of link_patterns to automatically convert "bug
NNNN" to a bug link. I would like those bug links to have their title
attributes set (to the summary of the bug), but link_patterns currently only
controls the href attribute.
I am attaching a patch that allows a callable value in the link_patterns to
return a dict containing arbitrary attributes to add to the <a> tag.
For my specific usage example, see
https://bugzilla.mozilla.org/show_bug.cgi?id=609736
Original issue reported on code.google.com by sph...@gmail.com on 6 Nov 2010 at 7:19
Original issue reported on code.google.com by
sph...@gmail.com
on 6 Nov 2010 at 7:19Attachments: