HP3000-L Archives

August 2004, Week 3

HP3000-L@RAVEN.UTC.EDU

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Barry Lake <[log in to unmask]>
Reply To:
Barry Lake <[log in to unmask]>
Date:
Fri, 20 Aug 2004 13:56:32 -0700
Content-Type:
text/plain
Parts/Attachments:
text/plain (22 lines)
At 12:39 PM -0700 8/20/04, Emerson, Tom wrote:
>... I noticed some of the wording looked a little odd, then I realized
>that the help file has < and > characters within it, which provides no
>end of grief to automated tool writers :)
...


The obvious solution to that is to replace all occurrences of "<" with
"&lt;" and ">" with "&gt;" prior to coverting the source text into html.
I'm no perl expert but I have to assume that this would be a very simple,
one-line command for each substitution. Of course, this would only work if
the source text does not already contain some html!


--
Barry Lake                           mailto:[log in to unmask]
Allegro Consultants, Inc.            http://www.allegro.com
(408)252-2330

* To join/leave the list, search archives, change list settings, *
* etc., please visit http://raven.utc.edu/archives/hp3000-l.html *

ATOM RSS1 RSS2