Skip to content

[2.5.4][regression] html tag is not rendered under certain circumstances #7106

Closed
@jacekkarczmarczyk

Description

@jacekkarczmarczyk

Version

2.5.4

Reproduction link

https://codepen.io/anon/pen/XzEwwX?editors=1010

Steps to reproduce

Just open the link

What is expected?

Generated markup:

<span class="badge__badge red">
   <i data-v-fd715c0e="" aria-hidden="true" class="material-icons icon icon--right theme--dark">plus_one</i>
</span>

What is actually happening?

Generated markup:

   <i data-v-fd715c0e="" aria-hidden="true" class="material-icons icon icon--right theme--dark">plus_one</i>

It fails since 2.5.4, with 2.5.3 works fine
https://codepen.io/anon/pen/pdVoZy?editors=1010

Tried to make a minimal case without other dependencies here https://codepen.io/anon/pen/PORMVb?editors=1010 but couldn't get it to work, maybe somehow will be helpful, maybe not

Original issue: vuetifyjs/vuetify#2603

I'm suspecting that the bug is caused by the following commit 13196b2

Component that fails is here: https://github.com/vuetifyjs/vuetify/blob/master/src/components/VBadge/VBadge.js#L40

Commenting the following method fixes the rendering: https://github.com/vuetifyjs/vuetify/blob/master/src/components/VGrid/VContent.js#L14

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions