Merge pull request #18496 from overleaf/rd-pug-warning-attributes

[web] Fix: "You should not have pug tags with multiple attributes" warning

GitOrigin-RevId: 0adfdf6a130c60966eae3c845011975af7eecc44
This commit is contained in:
Eric Mc Sween 2024-05-24 08:12:51 -04:00 committed by Copybot
parent 83e1452991
commit 92945f504d

View file

@ -21,7 +21,7 @@ li.dropdown.dropup.subdued(dropdown).language-picker
if !subdomainDetails.hide if !subdomainDetails.hide
- let isActive = subdomainDetails.lngCode === currentLngCode - let isActive = subdomainDetails.lngCode === currentLngCode
li.lngOption li.lngOption
a.menu-indent(href=subdomainDetails.url+currentUrlWithQueryParams role="menuitem")(class=isActive ? 'dropdown-item active' : 'dropdown-item')(aria-selected=isActive ? 'true' : 'false') a.menu-indent(href=subdomainDetails.url+currentUrlWithQueryParams, role="menuitem", class=isActive ? 'dropdown-item active' : 'dropdown-item', aria-selected=isActive ? 'true' : 'false')
| #{settings.translatedLanguages[subdomainDetails.lngCode]} | #{settings.translatedLanguages[subdomainDetails.lngCode]}
if subdomainDetails.lngCode === currentLngCode if subdomainDetails.lngCode === currentLngCode
span.material-symbols.dropdown-item-trailing-icon.pull-right(aria-hidden="true") check span.material-symbols.dropdown-item-trailing-icon.pull-right(aria-hidden="true") check