Project

General

Profile

Actions

Bug #17846

closed

Percent mode changes the output from ERB beyond what is documented

Added by graywolf (Gray Wolf) over 3 years ago. Updated over 3 years ago.

Status:
Rejected
Assignee:
-
Target version:
-
ruby -v:
ruby 2.7.3p183 (2021-04-05 revision 6847ee089d) [x86_64-linux-musl]
[ruby-core:103690]

Description

/ # cat repro.erb
<% # %>x
y
/ # erb repro.erb
y
/ # erb -P repro.erb
/ #

Based on documentation of -P (disabling percent mode), this change in behavior
is unexpected.

Actions

Also available in: Atom PDF

Like0
Like0Like0Like0Like0Like0Like0Like0