rake_helper.rb should escape HTML characters like < and > as these may occur as output from rake in some situations (e.g running functional tests). If the command is set to output HTML in TextMate, this causes any text to be interpreted as a HTML tag.
For example, the rake functional test output might include the text:
"<false> is not true"
If the command result is output as HTML, what shows up in TextMate is:
" is not true"
I added:
lines.each do |line|
line.replace CGI.escapeHTML(line)
end
to rake_helper.rb as a hack and it fixes this problem.
Moved from old textmate repository, original report from @allending
rake_helper.rb
should escape HTML characters like<
and>
as these may occur as output from rake in some situations (e.g running functional tests). If the command is set to output HTML in TextMate, this causes any text to be interpreted as a HTML tag.For example, the rake functional test output might include the text: "<false> is not true"
If the command result is output as HTML, what shows up in TextMate is: " is not true"
I added:
to rake_helper.rb as a hack and it fixes this problem.
Moved from old textmate repository, original report from @allending