lisongx/wikidata-elements

Self closing `wd-entity` usage would prevent page from rendering below

lisongx opened this issue · 0 comments

In current version (0.1.0)

  <wd-entity entity-id="Q42" property="P569" />
  <a is="wd-link" entity-id="Q80" property="P856" target="_blank" />
    <wd-entity entity-id="Q80" property="P856" lang="en" />
  </a>

If you using wd-entity this way, the a tag below will not be render at all. If you are using <wd-entity entity-id="Q42" property="P569" ></wd-entity>, this would be fine

See a live demo of this bug: https://jsbin.com/tayoverohe/edit