Commit 0de4f5c2f2407a8fcdfd6a1440b9eef930fee993

Sanitize the README content

Signed-off-by: David A. Cuadrado <krawek@gmail.com>

Commit diff

app/helpers/application_helper.rb

 
233233
234234 return "" if possibilities.empty?
235235 text = repository.git.git.show({}, "master:#{possibilities.first}")
236 markdown(text) rescue text.gsub("\n", "<br/>")
236 markdown(text) rescue simple_format(sanitize(text))
237237 end
238238
239239 def file_path(repository, filename, head = "master")
toggle raw diff