Class: Editor::LexxyEditor::Tag

Inherits:
Tag
  • Object
show all
Defined in:
lib/action_text/editor/lexxy_editor.rb

Instance Method Summary collapse

Instance Method Details

#render_in(view_context) ⇒ Object



11
12
13
14
15
# File 'lib/action_text/editor/lexxy_editor.rb', line 11

def render_in(view_context, ...)
  # Strip html_safe to preserve attribute escaping (see #749)
  options[:value] = options[:value].to_str if options[:value].respond_to?(:to_str)
  super
end