Skip to content

Meta charset not rendered as expected #275

@aminnairi

Description

@aminnairi

Describe the bug
When rendering a meta for encoding the page from the server using render, it fails to display the correct attribute casing which should be lowercased for the S letter instead it is uppercased just like it is written in JSX.

To Reproduce
Steps to reproduce the behavior:
Follow instructions for the reproduction repository here.

Expected behavior
It should render the attribute charSet as charset when passing through the render function for the <meta> tag.

Screenshots
None.

Browser (please complete the following information):

  • OS: [e.g. Windows 11]: Arch
  • Browser [e.g. Chrome 108]: Chrome 108

Node (please complete the following information):

  • Platform: [e.g. Node 18]: Node 19.3.0
  • Package Manager [e.g. NPM 8.2.13]: NPM 8.19.2
  • Package Version [e.g. 0.2.1]: 5.2.6

Additional context
None.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions