HTML Comment between component root elements prevents applying class to element after comment
Version
3.0.4
Reproduction link
https://codesandbox.io/s/strange-poitras-4jwf8?file=/src/components/HelloWorld.vue
Steps to reproduce
Try to remove comment between divs in HelloWorld component and resulting html will differ. Text I also want to be bold?
will become bold
What is expected?
Class should be passed to the root element in both cases (Second component text should also be bold)
What is actually happening?
Due to presence of comment between divs, class is not applied to the second div.