HTML Safe Edit

Fairlight fairlite at fairlite.com
Thu Jun 28 09:12:45 PDT 2018


There is no way to create such a creature in an edit.

1) You'd need to ensure your input size was no greater than 32767 bytes.

2) Assuming it was, you need to evaluate the -context- of characters.  A
single quote on its own has an entirely different meaning depending upon
whether or not it's inside or outside doublequotes.

3) You can't universally apply a sane edit to & because the contents can be
hex values -or- special words, and edits don't have the logic necessary to
sanely tell which type of values are following the first character.

filePro isn't even the right tool for this.  The subset of edits is
even less so.  You're far better off with a language which has a lot of
high-level string manipulation tools built in Ä preferably one supporting
PCRE.

m->


On Thu, Jun 28, 2018 at 10:53:26AM +1000, Scott Smith via Filepro-list thus spoke:
> 
> Does any one have a HTML safe edit created.
> eg. accept and convert the likes of ' or & 
> Thanks 
> 
> Scott Smith
> Systems Manager
>  
> DocSearch
> 0412 984 982
> 
> 
> 
> ---
> This email has been checked for viruses by Avast antivirus software.
> https://www.avast.com/antivirus
> 
> _______________________________________________
> Filepro-list mailing list
> Filepro-list at lists.celestial.com
> Subscribe/Unsubscribe/Subscription Changes
> http://mailman.celestial.com/mailman/listinfo/filepro-list
> 

-- 
Audio panton, cogito singularis.


More information about the Filepro-list mailing list