+stripLinks = (formatted_content) ->
+  $content = $("<span>#{formatted_content}</span>")
+  $content.find('a').replaceWith ->
+    $span = $("<span>#{$(this).html()}</span>")
+    $span.addClass this.className
+    $span
+
+  $content.html()
+
 window.ReactFeedActivities = React.createBackboneClass
   displayName: 'ReactFeedActivities'
 

          _div ['feed-activity-username'],
            comment.creator().get('name')
          _div ["comment-content",
            dangerouslySetInnerHTML: {__html: @_stripLinks(comment.get('formatted_content'))}]
      _div ["feed-lowest-comment subcomment-content",
        dangerouslySetInnerHTML: {__html: sub_comment.get('formatted_content')}]

ReactFollowedUserActivity = React.createBackboneClass
  displayName: 'ReactFollowedUserActivity'

      },
      ReactFact model: fact
      _div ["feed-lowest-comment comment-content",
        dangerouslySetInnerHTML: {__html: stripLinks(comment.get('formatted_content'))}]

ReactCreatedSubCommentActivity = React.createBackboneClass
  displayName: 'ReactCreatedSubCommentActivity'

  render: ->
    user = new User @model().get('user')
