Module: CatarseAutoHtml
Instance Method Summary collapse
Instance Method Details
#catarse_auto_html_for(options = {}) ⇒ Object
9 10 11 12 13 14 15 16 17 18 19 20 21 22 |
# File 'lib/catarse_auto_html.rb', line 9 def catarse_auto_html_for ={} self.auto_html_for [:field] do html_escape map: { '&' => '&', '>' => '>', '<' => '<', '"' => '"' } image youtube width: [:video_width], height: [:video_height], wmode: "opaque" vimeo width: [:video_width], height: [:video_height] redcloth target: :_blank link target: :_blank end end |