Standardize single space (not nbsp) between icon and text
[civicrm-core.git] / CRM / Core / Smarty / plugins / block.crmButton.php
index 390a8e73030e4d039daa89eff48c6c9c05a0502d..64543d5957683dbbf5d193dda100261bd8f42140 100644 (file)
@@ -47,7 +47,7 @@ function smarty_block_crmButton($params, $text, &$smarty) {
     if (strpos($icon, 'fa-') !== 0) {
       $icon = "fa-$icon";
     }
-    $iconMarkup = "<i class='crm-i $icon' aria-hidden=\"true\"></i>&nbsp; ";
+    $iconMarkup = "<i class='crm-i $icon' aria-hidden=\"true\"></i> ";
   }
   // All other params are treated as html attributes
   CRM_Utils_Array::remove($params, 'icon', 'p', 'q', 'a', 'f', 'h', 'fb', 'fe');