You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If my template, passed in as noDataTmpl: Template.nothingThere, is as such:
<template name="nothingThere">
<div>
<p>
<div> Hi Hi Hi </div>
</p>
</div>
</template>
The div with "Hi Hi Hi" gets moved outside of the p tag.
I think it has to do with inline elements vs. block elements or something, and block elements not being not meant to be inside inline elements. Because making the "Hi Hi Hi" div be a span instead makes it work just fine.
Is this expected / intentional? If not, any chance of fixing (or might there be some workaround)?
Thanks for the package!
The text was updated successfully, but these errors were encountered:
If my template, passed in as
noDataTmpl: Template.nothingThere
, is as such:The
div
with "Hi Hi Hi" gets moved outside of thep
tag.I think it has to do with inline elements vs. block elements or something, and block elements not being not meant to be inside inline elements. Because making the "Hi Hi Hi"
div
be aspan
instead makes it work just fine.Is this expected / intentional? If not, any chance of fixing (or might there be some workaround)?
Thanks for the package!
The text was updated successfully, but these errors were encountered: