File tree Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -246,7 +246,10 @@ protected function _getHtml(
246246 }
247247
248248 $ html .= '<li ' . $ this ->_getRenderedMenuItemAttributes ($ child ) . '> ' ;
249- $ html .= '<a href=" ' . $ child ->getUrl () . '" ' . $ outermostClassCode . ' role="menuitem"><span> ' . $ this ->escapeHtml (
249+ $ html .= '<a href=" ' . $ child ->getUrl () . '" '
250+ . $ outermostClassCode
251+ . 'role="menuitem"><span> '
252+ . $ this ->escapeHtml (
250253 $ child ->getName ()
251254 ) . '</span></a> ' . $ this ->_addSubMenu (
252255 $ child ,
Original file line number Diff line number Diff line change @@ -79,7 +79,7 @@ class TopmenuTest extends TestCase
7979 // @codingStandardsIgnoreStart
8080 /** @var string */
8181 private $ navigationMenuHtml = <<<HTML
82- <li class="level0 nav-1 first"><a href="http://magento2/category-0.html" ><span></span></a></li><li class="level0 nav-2"><a href="http://magento2/category-1.html" ><span></span></a></li><li class="level0 nav-3"><a href="http://magento2/category-2.html" ><span></span></a></li><li class="level0 nav-4"><a href="http://magento2/category-3.html" ><span></span></a></li><li class="level0 nav-5"><a href="http://magento2/category-4.html" ><span></span></a></li><li class="level0 nav-6"><a href="http://magento2/category-5.html" ><span></span></a></li><li class="level0 nav-7"><a href="http://magento2/category-6.html" ><span></span></a></li><li class="level0 nav-8"><a href="http://magento2/category-7.html" ><span></span></a></li><li class="level0 nav-9"><a href="http://magento2/category-8.html" ><span></span></a></li><li class="level0 nav-10 last"><a href="http://magento2/category-9.html" ><span></span></a></li>
82+ <li class="level0 nav-1 first" role="presentation"><a href="http://magento2/category-0.html" role="menuitem"><span></span></a></li><li class="level0 nav-2" role="presentation"><a href="http://magento2/category-1.html" role="menuitem"><span></span></a></li><li class="level0 nav-3" role="presentation"><a href="http://magento2/category-2.html" role="menuitem"><span></span></a></li><li class="level0 nav-4" role="presentation"><a href="http://magento2/category-3.html" role="menuitem"><span></span></a></li><li class="level0 nav-5" role="presentation"><a href="http://magento2/category-4.html" role="menuitem"><span></span></a></li><li class="level0 nav-6" role="presentation"><a href="http://magento2/category-5.html" role="menuitem"><span></span></a></li><li class="level0 nav-7" role="presentation"><a href="http://magento2/category-6.html" role="menuitem"><span></span></a></li><li class="level0 nav-8" role="presentation"><a href="http://magento2/category-7.html" role="menuitem"><span></span></a></li><li class="level0 nav-9" role="presentation"><a href="http://magento2/category-8.html" role="menuitem"><span></span></a></li><li class="level0 nav-10 last" role="presentation"><a href="http://magento2/category-9.html" role="menuitem"><span></span></a></li>
8383HTML ;
8484 // @codingStandardsIgnoreEnd
8585
You can’t perform that action at this time.
0 commit comments