This gem cleans the html code that is copied from Microsoft Word.
Usage
To String class was added a new method 'sanitize_word_html'
- Just type
'
<![if !supportLists]><![endif]>fgcvb
'.sanitize_word_html- And you will get this result
=> "
fgcvb
"This gem cleans the html code that is copied from Microsoft Word.
To String class was added a new method 'sanitize_word_html'
'
<![if !supportLists]><![endif]>fgcvb
'.sanitize_word_html=> "
fgcvb
"