[thesite] Print version of evolt.org articles

Dean Mah dsmah at home.com
Thu Jul 19 16:40:53 CDT 2001


.jeff writes:

> :~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> : From: Dean Mah
> :
> : Unless anyone has objections, I will run
> : a Perl script that changes the articles
> : directly in the database.
> :~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> 
> i'm fine with that so long as the script *only* changes entities
> within <pre></pre> blocks.


Yes.


> also, it should probably only replace <, >, and " with the proper
> entities and leave all other entities alone (for now).


I was only going to replace < and > but I can do " as well.


> what exactly did you have in mind?


Running a Perl script that would go through the stuff between <pre>
and </pre> and escaping < and > to &lt; and &gt;.


Dean





More information about the thesite mailing list