ruby-core@ruby-lang.org archive (unofficial mirror)
 help / color / mirror / Atom feed
From: usa@garbagecollect.jp
To: ruby-core@ruby-lang.org
Subject: [ruby-core:91643] [Ruby trunk Bug#14621] Extra whitespace in squiggly heredoc with escaped newline
Date: Thu, 28 Feb 2019 14:52:10 +0000 (UTC)	[thread overview]
Message-ID: <redmine.journal-76907.20190228145209.1661b74a6a7fed56@ruby-lang.org> (raw)
In-Reply-To: redmine.issue-14621.20180321063838@ruby-lang.org

Issue #14621 has been updated by usa (Usaku NAKAMURA).

Backport changed from 2.3: REQUIRED, 2.4: REQUIRED, 2.5: DONE to 2.3: REQUIRED, 2.4: DONE, 2.5: DONE

ruby_2_4 r67147 merged revision(s) 62872,62873.

----------------------------------------
Bug #14621: Extra whitespace in squiggly heredoc with escaped newline
https://bugs.ruby-lang.org/issues/14621#change-76907

* Author: printercu (Max Melentiev)
* Status: Closed
* Priority: Normal
* Assignee: 
* Target version: 
* ruby -v: ruby 2.4.1p111 (2017-03-22 revision 58053) [x86_64-darwin16]
* Backport: 2.3: REQUIRED, 2.4: DONE, 2.5: DONE
----------------------------------------
~~~ruby
puts <<~TXT.inspect
  1 \
  2
TXT
~~~

Expected:

~~~
"1 2\n"
~~~

Got:

~~~
"1   2\n"
~~~



-- 
https://bugs.ruby-lang.org/

      parent reply	other threads:[~2019-02-28 14:52 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <redmine.issue-14621.20180321063838@ruby-lang.org>
2018-03-21  6:38 ` [ruby-core:86236] [Ruby trunk Bug#14621] Extra whitespace in squiggly heredoc with escaped newline melentievm
2018-03-21  6:43 ` [ruby-core:86237] " melentievm
2018-03-21 11:22 ` [ruby-core:86238] " nobu
2019-02-11 11:04 ` [ruby-core:91508] " nagachika00
2019-02-28 14:52 ` usa [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-list from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.ruby-lang.org/en/community/mailing-lists/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=redmine.journal-76907.20190228145209.1661b74a6a7fed56@ruby-lang.org \
    --to=ruby-core@ruby-lang.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).