What's the best way to wrap multiple elements. I've tried several methods but without success.
This is the markup:
<div>
<h3>Civil aerospace </h3>
<p>Powering more than 30 civil aircraft types from small executive jets to the lartest airliners.</p>
<h4>£47.1bn</h4>
<p>Order book</p>
<h4>£4,481m</h4>
<p>Revenue</p>
</div>
This is what I need to end up with:
<div class="hub">
<h3>Civil aerospace </h3>
<p>Powering more than 30 civil aircraft types from small executive jets to the lartest airliners.</p>
<div class="wrap">
<h4>£47.1bn</h4>
<p>Order book</p>
</div>
<div class="wrap">
<h4>£4,481m</h4>
<p>Revenue</p>
</div>
</div>
Have tried add, find, filter etc
Do I need to set an iteration?