method

break_if_nested_list

Importance_0
v7.0.0 - Show latest stable - 0 notes - Class: PlainTextConversion
break_if_nested_list(node, text) private

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File actiontext/lib/action_text/plain_text_conversion.rb, line 104
      def break_if_nested_list(node, text)
        if list_node_depth_for_node(node) > 0
          "\n#{text}"
        else
          text
        end
      end
Register or log in to add new notes.