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.
Sin embargo, veo que el atributo viewBox () siempre se renderiza en minúsculas.
La imagen SVG se genera con todos los atributos definidos (), pero no se renderiza en la página. ¿Qué me falta?
Me doy cuenta de que esto es proporcionado por el paquete virtual-dom, pero no pude encontrar la solución allí.
@Bas Lamentablemente, ya no tengo el mismo código. He avanzado y he implementado el logo a través de diferentes métodos.
Pero esto sí puedo decirte ahora; si inspeccioné el navegador para la imagen SVG y la edité como HTML en el navegador para renombrar el atributo viewbox a viewBox, la imagen SVG se renderizaría correctamente en el navegador.
Y sería idéntica a la imagen SVG original que deconstruí en el ayudante h.