Rails - How to Convert HTML to TEXT -
i'm looking way convert html text. tried using sanatize strip out html tags fails html has tags like:
<pre>adasdadadad</pre>
which text output sanatize removes tag , text lost.
ideas?
i think looking strip_tags.
that links says deprecated this says works rails 3.
or paul correctly points out might try updated api.
Comments
Post a Comment