/Ticket/Elements/ShowAttachments screws up font size

/Ticket/Elements/ShowAttachments generates HTML like this:

[…]

  • [Date] [Size]
  • [...]

    Making the date/size display in a very large font.

    The error here, of course, is the “"-1"” bit, which is Mason
    escaping the quotes. The patch below tells Mason not to escape this
    string.

    — …/…/…/…/share/html/Ticket/Elements/ShowAttachments Mon Nov 24 12:32:12 2003
    +++ ShowAttachments Mon Nov 24 12:43:34 2003
    @@ -46,7 +46,7 @@

    </%PERL>

    -

  • <font <%$fontsize%>>
    +
  • <font <%$fontsize | n%>>
    <%$rev->CreatedAsString%> (<% $size %>)

  • % }
    % $fontsize=‘size=“-2”’;

    Espen Wiborg espenhw@empolis.no
    Meddle not in the affairs of dragons, for you are crunchy and taste
    like chicken.