zfben_extend
A tool to extend ruby string.
Install
gem 'zfben_extend'
Use
ZfbenExtend::String.to_html('text http://link #tag [email protected] text') #=> 'text <a href="http://link">http://link</a> <a href="/tags/tag">#tag</a> <a href="mailto:[email protected]">[email protected]</a> text'
See more at https://github.com/benz303/zfben_extend/blob/master/test/zfben_extend_test.rb