Add breaks after each element via query
<p>I have a code:</p>

<pre><code>&lt;span class="twolastbuttons"&gt;
  &lt;div class="btn-group"&gt;
    &lt;a class="btn btn-success" onclick="addToWishList('&lt;?php echo $product_id; ?&gt;');"&gt;&lt;?php echo $button_wishlist; ?&gt;&lt;/a&gt;
    &lt;a class="btn btn-success" onclick="addToCompare('&lt;?php echo $product_id; ?&gt;');"&gt;&lt;?php echo $button_compare; ?&gt;&lt;/a&gt;
  &lt;/div&gt;
&lt;/span&gt;
</code></pre>

<p>I am trying to add <strong>&lt; BR ></strong> tag after each <strong>&lt; A ></strong> using jquery, but no luck. Please help!</p>
