tildeio / simple-html-tokenizer

A lightweight JavaScript library for tokenizing non-`<script>` HTML expected to be found in the `<body>` of a document
MIT License
84 stars 33 forks source link

Narrow #59 implementation to non selfClosing tags #86

Closed dcyriller closed 3 years ago

dcyriller commented 4 years ago

While \n should be stripped from <textarea>\n<textarea/> (according to the html spec), it should be preserved in <textarea/>\n?

It would help fix https://github.com/prettier/prettier/issues/8504 and supersedes https://github.com/tildeio/simple-html-tokenizer/pull/84

Alonski commented 4 years ago

@dcyriller @rwjblue So lets merge this in and update all the packages needed so we can merge this into Prettier? :)

Alonski commented 4 years ago

@rwjblue please don't mind me pinging you 😬

rwjblue commented 3 years ago

@Alonski never 😄

rwjblue commented 3 years ago

replaced by #90

Alonski commented 3 years ago

@rwjblue I should have pinged you more 😛