diff --git a/classes/Media.php b/classes/Media.php index f3ac52813..f58889220 100755 --- a/classes/Media.php +++ b/classes/Media.php @@ -68,7 +68,7 @@ class MediaCore { //set an alphabetical order for args $html_content = preg_replace_callback( - '/(<[a-zA-Z0-9]+)((\s?[a-zA-Z0-9]+=[\"\\\'][^\"\\\']*[\"\\\']\s?)*)>/', + '/(<[a-zA-Z0-9]+)((\s\t?[a-zA-Z0-9]+=[\"\\\'][^\"\\\']*[\"\\\']\s\t?)*)>/', array('Media', 'minifyHTMLpregCallback'), $html_content, Media::getBackTrackLimit()); diff --git a/themes/default-bootstrap/modules/blockcategories/category-tree-branch-top.tpl b/themes/default-bootstrap/modules/blockcategories/category-tree-branch-top.tpl index ce97048b6..d84c173d1 100644 --- a/themes/default-bootstrap/modules/blockcategories/category-tree-branch-top.tpl +++ b/themes/default-bootstrap/modules/blockcategories/category-tree-branch-top.tpl @@ -24,8 +24,7 @@ *}
  • -

    {$node.name|escape:'html':'UTF-8'}

    +

    {$node.name|escape:'html':'UTF-8'}

    {if $node.children|@count > 0}