Skip to content

[2.0] @solidjs/html - <textarea /> parsing error when self closing #3729

Description

@danielrkling

Describe the bug

For raw text elements like textarea wrapped in an element.

html`<div><textarea /></div>`

The tokenizer does not exit raw text mode for self closing tags causing the the parser to show an unclosed tag error.

Your Example Website or App

https://s.olid.uk/id/sQbCrVvYQyqflZVATSTL5g

Steps to Reproduce the Bug or Issue

html`<div><textarea /></div>`

Expected behavior

raw text elements should support self closing tags

Screenshots or Videos

No response

Platform

  • OS: [e.g. macOS, Windows, Linux]
  • Browser: [e.g. Chrome, Safari, Firefox]
  • Version: [e.g. 91.1]

Additional context

No response

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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