<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/xhtml; charset=utf-8">
</head>
<body>
<div style="font-family:sans-serif"><div style="white-space:normal">
<p dir="auto">On 17 Oct 2019, at 0:13, Matt Neuburg wrote:</p>
</div>
<div style="white-space:normal"><blockquote style="border-left:2px solid #777; color:#777; margin:0 0 5px; padding-left:5px"><p dir="auto">My guess is that the warning is a consequence of this change:<br>
<br>
<a href="https://redmine.ruby-lang.org/issues/15294" style="color:#777">https://redmine.ruby-lang.org/issues/15294</a><br>
<br>
My guess is that '%-' is intended (experimentation shows that it is valid and works).</p>
</blockquote></div>
<div style="white-space:normal">
<p dir="auto">Thanks, I have made this change upstream: <a href="https://github.com/textmate/bundle-support.tmbundle/commit/b7d4245342ff5266849cd40eca3d4be743b7eff2" style="color:#3983C4">https://github.com/textmate/bundle-support.tmbundle/commit/b7d4245342ff5266849cd40eca3d4be743b7eff2</a></p>
</div>
<div style="white-space:normal"><blockquote style="border-left:2px solid #777; color:#777; margin:0 0 5px; padding-left:5px"><p dir="auto">I suspect this was always invalid but the issue was ignored. m.</p>
</blockquote></div>
<div style="white-space:normal">
<p dir="auto">The patch indicates that it’s invalid, though the documentation actually says the trim made can be “one or more of the following modifiers”:</p>
<pre style="background-color:#F7F7F7; border-radius:5px 5px 5px 5px; margin-left:15px; margin-right:15px; max-width:90vw; overflow-x:auto; padding:5px" bgcolor="#F7F7F7"><code style="background-color:#F7F7F7; border-radius:3px; margin:0; padding:0" bgcolor="#F7F7F7">% enables Ruby code processing for lines beginning with %
<> omit newline for lines starting with <% and ending in %>
> omit newline for lines ending in %>
- omit blank lines ending in -%>
</code></pre>
<p dir="auto">And indeed it does allow <code style="background-color:#F7F7F7; border-radius:3px; margin:0; padding:0 0.4em" bgcolor="#F7F7F7">%</code> with any of the following characters, but presumably the last 3 are mutually exclusive.</p>
</div>
</div>
</body>
</html>