]> source.dussan.org Git - sonarqube.git/commit
SONAR-2249 Display Violation message with new lines in web
authorsimonbrandhof <simon.brandhof@gmail.com>
Wed, 4 May 2011 09:17:02 +0000 (11:17 +0200)
committersimonbrandhof <simon.brandhof@gmail.com>
Wed, 4 May 2011 09:18:20 +0000 (11:18 +0200)
commit98c661a1e31158b6024bc4339a34b255d643530e
tree9222fd67c0332aabb80f8b546ecb230fc49e9157
parentbf85a1d7e322beb80725c603abc01af646575c0a
SONAR-2249 Display Violation message with new lines in web

New method Api::Utils.split_newlines(input) in order to split a string by newlines, whatever the encoding of return carriage.
sonar-server/src/main/webapp/WEB-INF/app/helpers/resource_helper.rb
sonar-server/src/main/webapp/WEB-INF/app/models/api/utils.rb
sonar-server/src/main/webapp/WEB-INF/app/models/rule_failure.rb
sonar-server/src/main/webapp/WEB-INF/app/models/snapshot_source.rb
sonar-server/src/main/webapp/WEB-INF/app/views/resource/_violation.html.erb