Skip to content

Commit

Permalink
Add missing inner templates in SSR
Browse files Browse the repository at this point in the history
  • Loading branch information
luisherranz committed Jan 22, 2024
1 parent e33342d commit 1621077
Showing 1 changed file with 10 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -156,15 +156,21 @@
<li data-testid="animal" data-wp-each-child>
<span data-testid="name">Dog</span>
<ul>
<li>Chihuahua</li>
<li>Rottweiler</li>
<template data-wp-each--breed="context.animal.breeds">
<li data-wp-text="context.breed"></li>
</template>
<li data-wp-each-child>Chihuahua</li>
<li data-wp-each-child>Rottweiler</li>
</ul>
</li>
<li data-testid="animal" data-wp-each-child>
<span data-testid="name">Cat</span>
<ul>
<li>Sphynx</li>
<li>Siamese</li>
<template data-wp-each--breed="context.animal.breeds">
<li data-wp-text="context.breed"></li>
</template>
<li data-wp-each-child>Sphynx</li>
<li data-wp-each-child>Siamese</li>
</ul>
</li>
</ul>
Expand Down

0 comments on commit 1621077

Please sign in to comment.