Skip to content

=begin/=end HEREDOC breaks preceeding newline in comments #266

@zzak

Description

@zzak

Steps to reproduce:

  1. start with a file (foo.rb):
=begin
  a comment with
  line
  breaks
=end

##
# an actual description for
# this
# module with
# more line
# breaks
module Foo;end
  1. generate ri:
doc -o foodocs -r foo.rb

result

= Foo < Object
------------------------------------------------------------------------------
  a comment with
  line
  breaks

## # an actual description for # this # module with # more line # breaks
------------------------------------------------------------------------------
------------------------------------------------------------------------------

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions