[ILUG-Webdev] PHP - converting HTML entities outside tags
hostyle at csn.ul.ie
Wed Aug 25 12:34:26 IST 2004
On Wed, 25 Aug 2004, Kae Verens wrote:
> Lee Hosty wrote:
> > 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'>"my amazin' links & stuff"</a>
> > Any ideas? I'm new to PHP and would rather not re-invent any wheels.
> 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/).
Good call. I got the latest version (supports nested lists and other
things missing in the original) at
More information about the Webdev