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
3030 private const REGEX_INDEX_URL_PATTERN = '/(\/index|(\/))+($|\/$)/ ' ;
3131
3232 /**
33- * Default path
33+ * This property specifies the default path.
3434 *
3535 * @var DefaultPathInterface
3636 */
@@ -139,9 +139,10 @@ protected function _toHtml()
139139
140140 if ($ this ->isCurrent ()) {
141141 $ 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> ' ;
145146 $ html .= '</li> ' ;
146147 } else {
147148 $ html = '<li class="nav item ' . $ highlight . '"><a href=" ' . $ this ->escapeHtml ($ this ->getHref ()) . '" ' ;
You can’t perform that action at this time.
0 commit comments