diff --git a/lib/text_helpers/translation.rb b/lib/text_helpers/translation.rb
index <HASH>..<HASH> 100644
--- a/lib/text_helpers/translation.rb
+++ b/lib/text_helpers/translation.rb
@@ -35,7 +35,7 @@ module TextHelpers
     def html(key, options = {})
       rendered = GitHub::Markdown.render(text(key, options))
       if options[:inline]
-        rendered.match(/\A<p>(.*)<\/p>\Z/)[1].html_safe
+        rendered.gsub(/<\/?p>/, '').html_safe
       else
         rendered.html_safe
       end
Handle `p` tag stripping in a more robust manner