You might be able to check out some example code in convert_attachment_to
plugin:
http://github.com/kete/convert_attachment_to/tree/master
Depending on configuration, it will take an uploaded HTML file (or PDF, MS
doc...) and convert it into a plain text attribute, etc. Probably overkill
for what
You could use some regexp and the hash ERB::Util::HTML_ESCAPE to
return the unescaped versions of the characters.
- Richard
On Oct 1, 3:31 pm, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]>
wrote:
> Hi,
>
> I'm looking for a way to convert html to plain text.
> Now, I know about strip_tags, but - as th
2 matches
Mail list logo