[rt-users] internal bookmarks are bogus in RT2

Jesse Vincent jesse at bestpractical.com
Fri May 2 11:19:36 EDT 2003


Indeed. Fixed in the repository for 3.0. And you've even got the clickly
# href anchors for each transaction ;)


On Tue, Apr 29, 2003 at 12:46:50PM -0400, Sheeri Kritzer wrote:
> (this is for RT2, but is really a minor change, can someone running RT3 check and see if it's an RT3 bug too?)
> 
> One of my users pointed out:
> 
> according to the HTML 4.01 spec, name and id attributes 'must begin with
> a letter ([A-Za-z]) and may be followed by any number of letters, digits
> ([0-9]), hyphens ("-"), underscores ("_"), colons (":"), and periods (".")'
> 
> see:
> http://www.w3.org/TR/html401/types.html#type-name
> 
> along these lines, RT creates wicked bogus name values for internal
> bookmark values, e.g. <a NAME="#24509"></a> 
> 
> [1] the hash (#) is illegal.
> [2] it can't start w/ a number
> 
> to make it a valid attribute, change Ticket/Elements/ShowTransaction
> 
> [old line]
> <TD bgcolor="<%$bgcolor%>"><A NAME="#<%$Transaction->Id%>"></A>&nbsp </TD>
> 
> [new line]
> <TD bgcolor="<%$bgcolor%>"> <a name="c<%$Transaction->Id%></A>&nbsp </TD>
> 
> is this going to break anything?
> 
> Also, he actually wanted to refer to it, so the line in my local file actually is:
> 
> <a name="c<%$Transaction->Id%>" href="#c<%$Transaction->Id%>">#</a>
> 
> that just makes a link labeled "#" next to every comment.  He wants to be able to link to specific comments, instead of just a ticket, for that.  A minor improvement, but some people like that.
> 
> -Sheeri Kritzer
> Systems Administrator
> University Systems Group
> Tufts University
> 617-627-3925
> sheeri.kritzer at tufts.edu
> 
> 
> 
> 
> _______________________________________________
> rt-users mailing list
> rt-users at lists.fsck.com
> http://lists.fsck.com/mailman/listinfo/rt-users
> 
> Have you read the FAQ? The RT FAQ Manager lives at http://fsck.com/rtfm

-- 
http://www.bestpractical.com/rt  -- Trouble Ticketing. Free.



More information about the rt-users mailing list