title: Is it possible to add a paragraph after a certain element of HTML
body: <p>I have a plugin on Wordpress that generates HTML showing titles from a RSS feed, this is a sample of the code below for each item and then it repeats its self for the next few items.</p>
  
  <pre><code>&lt;/div&gt;
  &lt;ul class="rss-aggregator"&gt;
      &lt;li class="feed-item"&gt;
          &lt;a target="_blank" rel="nofollow" href='http://www.football365.com/news/premier-league-winners-and-losers-7'&gt;Premier League winners and losers&lt;/a&gt;
          &lt;div class="wprss-feed-meta"&gt;
              &lt;span class="feed-source"&gt;Source: Football 365&lt;/span&gt;
              &lt;span class="feed-date"&gt;Published on 2015-10-19&lt;/span&gt;
          &lt;/div&gt;
          &lt;div class="wprss-time-ago"&gt;31 mins ago&lt;/div&gt;
      &lt;/li&gt;
  </code></pre>
  
  <p>I was wondering if there is any code I can add to the page to automatically insert a paragraph after <code>&lt;/div&gt;&lt;/li&gt;</code>  as the page changes all the time with different title and URLS but <code>&lt;/div&gt;&lt;/li&gt;</code>always stays the same after every feed, so the new HTML would look like:</p>
  
  <pre><code>&lt;/div&gt; 
      &lt;ul class="rss-aggregator"&gt;
          &lt;li class="feed-item"&gt;
              &lt;a target="_blank" rel="nofollow" href='football365.com/news/… League winners and losers&lt;/a&gt;
              &lt;div class="wprss-feed-meta"&gt;
                  &lt;span class="feed-source"&gt;Source: Football 365&lt;/span&gt;
                  &lt;span class="feed-date"&gt;Published on 2015-10-19&lt;/span&gt;
              &lt;/div&gt;
              &lt;div class="wprss-time-ago"&gt;31 mins ago&lt;/div&gt;
          &lt;/li&gt;
          &lt;p&gt;
  </code></pre>