[rt-users] Linking to external systems

Smylers smylers at gbdirect.co.uk
Fri Apr 12 04:52:58 EDT 2002


Justin Hawkins wrote:

> Otherwise, I am happy to do the <A HREFing myself, if I can stop the GUI
> from escaping my code somehow.

You can put |n at the end of a Mason expression to prevent it being
escaped, for example:

  <a href="<%$url|n%>"><%$name%></a>

For details see perldoc HTML::Mason::Devel and search for "Escaping
expressions".

> My other web application needs to be simply referenced as
> http://ext.intranet:8999/idnum

But if your IDs are just letters and digits surely it isn't being
escaped anyway:

  <a href="http://ext.intranet:8999/<%$idnum%>">other web app</a>

Smylers
-- 
GBdirect
http://www.gbdirect.co.uk/





More information about the rt-users mailing list