The patch above is incorrect.  A correct patch is shown on
check-in

The following link demonstrates the error:

    [/timeline?c=2011-05-28+17%3A56%3A04&n=4]

I added the "test-%-&amp;-tag" tag to that check-in.  The % and &amp; characters
on that tag must be escaped when it is used inside HTML, which increases the
length of the rendered text.  Without the fix, the hyperlink is rendered
incorrectly.