We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 526b9d7 commit 8122c94Copy full SHA for 8122c94
lib/internal/Magento/Framework/View/Element/Html/Link/Current.php
@@ -139,9 +139,10 @@ protected function _toHtml()
139
140
if ($this->isCurrent()) {
141
$html = '<li class="nav item current">';
142
- $html .= '<strong '.$this->getAttributesHtml().'>'
143
- . $this->escapeHtml(__($this->getLabel()))
144
- . '</strong>';
+ $html .= '<strong';
+ $html .= $this->getAttributesHtml() . '>'
+ . $this->escapeHtml(__($this->getLabel()))
145
+ . '</strong>';
146
$html .= '</li>';
147
} else {
148
$html = '<li class="nav item' . $highlight . '"><a href="' . $this->escapeHtml($this->getHref()) . '"';
0 commit comments