Skip to content

is attribute still present in the DOM after compilation #2666

Closed
@GuillaumeLeclerc

Description

@GuillaumeLeclerc

Vue.js version

1.0.21

Reproduction Link

I was not able to reproduce it in a jsfiddle. I can upload the whole thing to webpackbin if needed
https://github.com/GuillaumeLeclerc/vue-seo/blob/master/src/components/headDisplayer.vue

(When the component is used multiples times)

Steps to reproduce

Create multiple elements with a :is attribute.

What is Expected?

The :is attribute is removed from the markup after being compiled

What is actually happening?

All the :is attribute are visible in the dom (except for the first one)

<!-- This is working for the first one -->
<link rel="alternate" hreflang="fr" href="google.fr"> 
<!-- all the following have the is attribute displayed -->
<link rel="alternate" is="function VueComponent(options) { this._init(options) }" hreflang="de" href="google.fr"> 

Node the behavior is perfectly correct just the is attribute is displayed as a string.

Thank you

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