Permalink
Browse files

Merge branch 'master' of ssh://multimediatechnology.at:5412/var/www/v…

…irthosts/marblerun.multimediatechnology.at/gitrepository
  • Loading branch information...
2 parents 46ebe8f + ae6ecaf commit c732f5373e452836be021fc1616414134d8d171d @stravid stravid committed Jan 9, 2013
Showing with 2 additions and 2 deletions.
  1. +2 −2 app/models/track.rb
View
@@ -34,8 +34,8 @@ def json_track
hash['id'] = self.id
hash['json'] = ActiveSupport::JSON.decode(self.json)
- hash['trackname'] = self.trackname
- hash['username'] = self.username
+ hash['trackname'] = self.trackname.gsub(/<\/?[^>]*>/, "")
+ hash['username'] = self.username.gsub(/<\/?[^>]*>/, "")
hash['imagedata'] = self.imagedata
hash['length'] = self.length
hash['likes'] = self.likes

0 comments on commit c732f53

Please sign in to comment.