Home

Issue: 3173

Very weird issue with Boolean attribute "itemscope"

[issue link]

Version

v1.4.0

Reproduction link

https://jsfiddle.net/u01vm19q/2/

Steps to reproduce

<div :itemscope="''"> Lorem</div> or <div itemscope> Lorem</div> or <div :itemscope="true"> Lorem</div> 

What is expected ?

<div itemscope> Lorem</div>

What is actually happening?

<div itemscope="itemscope"> Lorem</div>

Additional comments?

And with other custom tags behavior is another. for example
<div :trololo="''"> Lorem</div> will go to <div trololo> Lorem</div>

“itemscope” is an important boolean microdata tag, how to fix that?

This bug report is available on Nuxt.js community (#c6822)