All,
I am interested in trying to generate a text version of an HTML
document.
Does any one know of any modules that may be of use to me?
A cursory search has not yielded any results.
Thanks,
Wes
All,
I am interested in trying to generate a text version of an HTML
document.
Does any one know of any modules that may be of use to me?
A cursory search has not yielded any results.
Thanks,
Wes
Wes G. wrote:
All,
I am interested in trying to generate a text version of an HTML
document.Does any one know of any modules that may be of use to me?
A cursory search has not yielded any results.
Thanks,
Wes
there is a built-in method that does just that.
sanitize(html) and strip_tags(html) are along the lines of what you’re
talking about.
See the docs:
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.
Sponsor our Newsletter | Privacy Policy | Terms of Service | Remote Ruby Jobs