I develop RiotJS wrapper for Bootstrap 4. You can check a live example on Plunker. There is a custom tag
<item>
<a class="dropdown-item" href="#">
<yield/>
</a>
</item>
I use it in the following way: <item>Action</item>
. getting the following output:
<item>
<a class="dropdown-item" href="#"> </a>
<a class="dropdown-item" href="#"> </a>
<a class="dropdown-item" href="#"> Action </a>
</item>
Does anyone know why the first 2 empty links are generated and how to avoid them?