Bas is experiencing issues with the Widget Helper stripping certain attributes when adding an <a> element with classes and attributes. The attributes id, href, and title work fine, but aria-label and _target do not.
In a related issue, gormus is having trouble rendering an SVG object using the h helper. The viewBox attribute is being rendered in all lowercase, causing the SVG image not to render. Although gormus was unable to provide the generated SVG code, they mention that editing the viewbox attribute to viewBox in the browser inspector resolves the issue.
@Bas К сожалению, у меня больше нет того же кода. Я перешел к другим решениям и реализовал логотип другими методами.
Но вот что я могу сказать вам сейчас: если я проверял SVG-изображение в браузере и редактировал его как HTML, переименовав атрибут viewbox в viewBox, то SVG-изображение корректно отображалось в браузере.
И оно было бы идентично оригинальному SVG-изображению, которое я разбирал в хелпер h.