File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed
lib/internal/Magento/Framework/View/Element/Html/Link Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -30,7 +30,7 @@ class Current extends Template
30
30
private const REGEX_INDEX_URL_PATTERN = '/(\/index|(\/))+($|\/$)/ ' ;
31
31
32
32
/**
33
- * Default path
33
+ * This property specifies the default path.
34
34
*
35
35
* @var DefaultPathInterface
36
36
*/
@@ -139,9 +139,10 @@ protected function _toHtml()
139
139
140
140
if ($ this ->isCurrent ()) {
141
141
$ html = '<li class="nav item current"> ' ;
142
- $ html .= '<strong> '
143
- . $ this ->escapeHtml (__ ($ this ->getLabel ()))
144
- . '</strong> ' ;
142
+ $ html .= '<strong ' ;
143
+ $ html .= $ this ->getAttributesHtml () . '> '
144
+ . $ this ->escapeHtml (__ ($ this ->getLabel ()))
145
+ . '</strong> ' ;
145
146
$ html .= '</li> ' ;
146
147
} else {
147
148
$ html = '<li class="nav item ' . $ highlight . '"><a href=" ' . $ this ->escapeHtml ($ this ->getHref ()) . '" ' ;
You can’t perform that action at this time.
0 commit comments