diff --git a/formatters/horizontal_tabs/horizontal-tabs.js b/formatters/horizontal_tabs/horizontal-tabs.js
index a7d1011..c1f50a4 100644
--- a/formatters/horizontal_tabs/horizontal-tabs.js
+++ b/formatters/horizontal_tabs/horizontal-tabs.js
@@ -66,7 +66,7 @@
         $details.each(function (i) {
           var $this = $(this);
           var horizontal_tab = new Drupal.horizontalTab({
-            title: $this.find('> summary').text(),
+            title: $this.find('> summary').html(),
             details: $this
           });
           horizontal_tab.item.addClass('horizontal-tab-button-' + i);
@@ -242,7 +242,7 @@
 
     tab.item = $('<li class="horizontal-tab-button" tabindex="-1"></li>')
       .append(tab.link = $('<a href="#' + idAttr + '"></a>')
-      .append(tab.title = $('<strong></strong>').text(settings.title))
+      .append(tab.title = '<strong>' + settings.title + '</strong>')
       );
 
     // No need to add summary on frontend.
