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.
Cependant, je constate que l’attribut viewBox() est toujours rendu en minuscules.
L’image SVG est générée avec tous les attributs définis (), mais elle ne s’affiche pas sur la page. Qu’est-ce qui me manque ?
Je me rends compte que cela est fourni par le package virtual-dom, mais je n’ai pas pu y trouver la solution.
@Bas Malheureusement, je n’ai plus le même code. J’ai avancé et implémenté le logo par d’autres méthodes.
Mais ceci, je peux vous le dire maintenant ; si j’inspectais le navigateur pour l’image SVG, et que je modifiais en HTML dans le navigateur pour renommer l’attribut viewbox en viewBox, l’image SVG s’afficherait correctement dans le navigateur.
Et ce serait identique à l’image SVG originale que j’ai déconstruite en aide h.