[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

comp.lang.ruby

Extracting HTML

Jordi Aragones vilella

5/11/2008 6:45:00 PM

Hi!

I have a problem, and I can't find the solution.

I'm developing an app, (with ruby on rails) and I'm trying to create a
PDF with some information that I have in my database.

The situation is the next one: In my database I have some fields that
contains HTML source, that text it was added using FCKeditor. And now
I'm trying to built a PDF using PDF::Writer, but the problem that I have
is when I'm trying to insert my text in the PDF appears (as is logical)
the HTML tags. My question is... Is there any function/plugin that
allows me to skip that source? Or convert from HTML to Text?

Thank you very much for your time.

Jordi
--
Posted via http://www.ruby-....