From: "Andreas S." Date: 2006-07-23T17:28:38+09:00 Subject: Re: strip tags? Daniel Baird wrote: > On 7/23/06, Stefan Scholl wrote: >> >> Max Benjamin wrote: >> > Is there an easy way to strip html tags from strings? >> >> A regex isn't always the _best_ way to deal with markup >> languages, but for an _easy_ way it's good enough. > > > the problem is, it's not always the _correct_ way. > >
This is no correct HTML, < and > have to be encoded as entities. -- Posted via http://www.ruby-forum.com/.