diff --git a/lib/pdd/source.rb b/lib/pdd/source.rb index dadbc88..69037a3 100644 --- a/lib/pdd/source.rb +++ b/lib/pdd/source.rb @@ -148,8 +148,7 @@ def tail(lines, prefix, start) prefix = "#{prefix} " if lines[0][prefix.length, 1]&.start_with?(' ') lines .take_while do |t| - match_markers(t).none? && \ - (t.start_with?(prefix) || t.start_with?(empty_prefix)) + match_markers(t).none? && (t.start_with?(prefix) || t.start_with?(empty_prefix)) end .map { |t| t[prefix.length, t.length]&.lstrip } end