Download Firefox: WindowsMac OS X
logo       
Google Custom Search
    AddThis Social Bookmark Button

Re: [ILUG-Webdev] PHP - converting HTML entities outside tags: msg#00006

Subject: Re: [ILUG-Webdev] PHP - converting HTML entities outside tags
On Wed, 25 Aug 2004, Kae Verens wrote:

> Lee Hosty wrote:

[snip]

> > ie. user inputs <a href="whatever.html" target='new_target'>"my amazin'
> > links & stuff"</a>
> >
> > needs to be converted to <a href="whatever.html"
> > target='new_target'>&quot;my amazin&#039; links &amp; stuff&quot;</a>
> >
> > Any ideas? I'm new to PHP and would rather not re-invent any wheels.

[snip]

> I'm afraid we /did/ re-invent the wheel in that case, but only because I
> started writing that convertor well before I heard of similar scripts such as
> Textism (http://www.textism.com/tools/textile/).

[snip]

Good call. I got the latest version (supports nested lists and other
things missing in the original) at
http://jimandlissa.com/project/textilephp

Thanks.
-- 
ILUG Web Development
http://mail.linux.ie/mailman/listinfo/webdev/



<Prev in Thread] Current Thread [Next in Thread>