Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Explain ERB space removal. #16790
The current phrase about space removal is misleading, and too hard to understand without an example. I propose that we either:
It is misleading because:
If you think the new explanation is too long, we can consider removing everything after "The line is not removed when" as that use case is less common: at least the new information won't be ambiguous and will have a clarifying example.
This line exists to explain why there are different tags available, from the line above:
There is a very subtle but obvious difference between them, so it would be nice to leave a small statement that warns the user about
There isn't even anything on the erubis docs that mentions
But there is mention of trimming whitespace, except using a different tag:
Ping: what will we do about this?
I see the following options:
We can then patch erubis docs if necessary.