           className: 'profile-extra-entries__text'
           el StringWithComponent,
             mappings: mappings
-            pattern: osu.trans("events.#{snakeCase(event.type)}")
+            # remove strip tags once translations are updated
+            pattern: osu.trans("events.#{snakeCase(event.type)}").replace(/<[^>]*>/g, '')
 
       div
         className: 'profile-extra-entries__time'

      when 'beatmapsetRevive'
        mappings =
          beatmapset: link(event.beatmapset.url, event.beatmapset.title)
          user: link(event.user.url, event.user.username)

      when 'beatmapsetUpdate'
        mappings =
          user: link(event.user.url, event.user.username)
          beatmapset: link(event.beatmapset.url, event.beatmapset.title)

      when 'beatmapsetUpload'
        mappings =
          beatmapset: link(event.beatmapset.url, event.beatmapset.title)
          user: link(event.user.url, event.user.username)

      when 'medal'
        # shouldn't exist because the type is overridden to achievement.

import AchievementBadge from 'profile-page/achievement-badge'
import ExtraHeader from 'profile-page/extra-header'
import * as React from 'react'
import { a, div, em, li, p, strong, ul } from 'react-dom-factories'
import ShowMoreLink from 'show-more-link'
import StringWithComponent from 'string-with-component'
import TimeWithTooltip from 'time-with-tooltip'
