ruby-core@ruby-lang.org archive (unofficial mirror)
 help / color / mirror / Atom feed
From: melentievm@gmail.com
To: ruby-core@ruby-lang.org
Subject: [ruby-core:86236] [Ruby trunk Bug#14621] Extra whitespace in squiggly heredoc with escaped newline
Date: Wed, 21 Mar 2018 06:38:39 +0000 (UTC)	[thread overview]
Message-ID: <redmine.issue-14621.20180321063838.dfe5f5f393d4ffdc@ruby-lang.org> (raw)
In-Reply-To: redmine.issue-14621.20180321063838@ruby-lang.org

Issue #14621 has been reported by printercu (Max Melentiev).

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

* Author: printercu (Max Melentiev)
* Status: Open
* Priority: Normal
* Assignee: 
* Target version: 
* ruby -v: 
* Backport: 2.3: UNKNOWN, 2.4: UNKNOWN, 2.5: UNKNOWN
----------------------------------------
~~~
puts <<~TXT.inspect
  1 \
  2
TXT

Expected:
"1 2\n"

Got:
"1   2\n"
~~~



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

       reply	other threads:[~2018-03-21  6:38 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 ` melentievm [this message]
2018-03-21  6:43 ` [ruby-core:86237] [Ruby trunk Bug#14621] Extra whitespace in squiggly heredoc with escaped newline melentievm
2018-03-21 11:22 ` [ruby-core:86238] " nobu
2019-02-11 11:04 ` [ruby-core:91508] " nagachika00
2019-02-28 14:52 ` [ruby-core:91643] " usa

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.issue-14621.20180321063838.dfe5f5f393d4ffdc@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).