public
Description: Gitorious aims to provide a great way of doing distributed opensource code collaboration.
Homepage: http://gitorious.org/projects/gitorious
Clone URL: git://github.com/dysinger/gitorious.git
Sanitize the README content

Signed-off-by: David A. Cuadrado <krawek@gmail.com>
David A. Cuadrado (author)
Tue Apr 29 08:50:34 -0700 2008
commit  0de4f5c2f2407a8fcdfd6a1440b9eef930fee993
tree    3e9cd76f2e07a68cf7a345c3d30833d887178f69
parent  eb32abcaba33b5213a71aff3ba3079821299a13f
...
233
234
235
236
 
237
238
239
...
233
234
235
 
236
237
238
239
0
@@ -233,7 +233,7 @@ module ApplicationHelper
0
     
0
     return "" if possibilities.empty?
0
     text = repository.git.git.show({}, "master:#{possibilities.first}")
0
- markdown(text) rescue text.gsub("\n", "<br/>")
0
+ markdown(text) rescue simple_format(sanitize(text))
0
   end
0
   
0
   def file_path(repository, filename, head = "master")

Comments

    No one has commented yet.