lib/editor_js/blocks/paragraph_block.rb
Add parentheses to nested method call Sanitize.fragment data['text']
. Open
Open
decode_html(Sanitize.fragment data['text']).strip
- Read upRead up
- Exclude checks
This cop checks for unparenthesized method calls in the argument list of a parenthesized method call.
Example:
# good
method1(method2(arg), method3(arg))
# bad
method1(method2 arg, method3, arg)