[TxMt] warning in htmloutput.rb
Matt Neuburg
matt at tidbits.com
Wed Oct 16 17:13:40 UTC 2019
I'm getting this warning:
.../Bundle Support.tmbundle/Support/shared/lib/tm/htmloutput.rb:91: warning: Invalid ERB trim mode: "%-<>" (trim_mode: nil, 0, 1, 2, or String composed of '%' and/or '-', '>', '<>')
When I look at that line, I see:
ERB.new(HTMLOUTPUT_TEMPLATE, 0, '%-<>').result(binding)
My guess is that the warning is a consequence of this change:
https://redmine.ruby-lang.org/issues/15294
My guess is that '%-' is intended (experimentation shows that it is valid and works).
I suspect this was always invalid but the issue was ignored. m.
--
matt neuburg, phd = http://www.apeth.net/matt/
pantes anthropoi tou eidenai oregontai phusei
Programming iOS 12! http://shop.oreilly.com/product/0636920208662.do
iOS 12 Fundamentals! http://shop.oreilly.com/product/0636920208655.do
RubyFrontier! http://www.apeth.com/RubyFrontierDocs/default.html
More information about the TextMate
mailing list