fastjs-team / core

Fastjs is a useful, lightweight JavaScript library for any types of project.
https://fastjs.dev
MIT License
341 stars 37 forks source link

Bug: Unexpected result of adding class when create element #101

Closed xiaodong2008 closed 2 months ago

xiaodong2008 commented 2 months ago

What is the current behavior?

button class="b t n"

What is the expected behavior?

button class="btn"

Steps to reproduce the problem

Link to minimal reproduction

https://stackblitz.com/edit/fastjs-reproduce-n5bqw6?file=src%2Fmain.ts

System Info

No response

Any additional comments?

No response

Confirmations