<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: I thought that excessive blank lines had been sorted in Community Site Feedback</title>
    <link>https://community.plus.net/t5/Community-Site-Feedback/I-thought-that-excessive-blank-lines-had-been-sorted/m-p/1354082#M11162</link>
    <description>&lt;P&gt;I'm seriously beginning to believe that the "modules" that make up this forum are more "disjointed" that one might imagine.&lt;/P&gt;
&lt;P&gt;Is this if you are viewing the &amp;lt;Show Full Text&amp;gt; of the post on the Unread Posts tab @Anonymous﻿ ? - That's what I find when looking at that.&lt;/P&gt;
&lt;P&gt;I also found it when reading the OP there as well.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="end of msg #1 in 'Upgrding To Fiber'' (&amp;amp; title of next message) in Unread Posts module" style="width: 999px;"&gt;&lt;img src="https://community.plus.net/t5/image/serverpage/image-id/1850iFDE839144C32C13E/image-size/large?v=v2&amp;amp;px=999" role="button" title="Unread_Topics_-_Plusnet_Community_-_2016-07-31_11.19.10.png" alt="end of msg #1 in 'Upgrding To Fiber'' (&amp;amp; title of next message) in Unread Posts module" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;end of msg #1 in 'Upgrding To Fiber'' (&amp;amp; title of next message) in Unread Posts module&lt;/span&gt;&lt;/span&gt;﻿&lt;/P&gt;
&lt;P&gt;As previously mentioned, Jack's script can only work on the post once posted, it can't intercept it between compilation and posting. So I'm guessing that the script is only applied to posts on boards? and maybe not to the other 'modules'? Something perhaps only Jack can advise.&lt;BR /&gt;However that doesn't appear to be the only issue. As the thread has been marked as Fixed, the relevant "Go to the Fix" has been added to the OP, but clearly this is done before Jack's script gets to it and so all the space now remains in the post.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="end of OP of 'Upgrding To Fiber' after Fix message applied" style="width: 999px;"&gt;&lt;img src="https://community.plus.net/t5/image/serverpage/image-id/1852i525766C0382A9164/image-size/large?v=v2&amp;amp;px=999" role="button" title="Fixed_Upgrding_To_Fiber_-_Plusnet_Community_-_2016-07-31_11.21.55.png" alt="end of OP of 'Upgrding To Fiber' after Fix message applied" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;end of OP of 'Upgrding To Fiber' after Fix message applied&lt;/span&gt;&lt;/span&gt;﻿&lt;/P&gt;
&lt;P&gt;Whether or not Jack's script can either intercept the message before the Fix message is applied (which I doubt) or perhaps he could modify it to look for a 'Fix' message and then look for the blank lines before it.&lt;/P&gt;
&lt;P&gt;Certainly an interesting one for &lt;a href="https://community.plus.net/t5/user/viewprofilepage/user-id/4"&gt;@jaread83﻿&lt;/a&gt; to look at when he gets back from his break.&lt;/P&gt;</description>
    <pubDate>Sun, 31 Jul 2016 12:57:43 GMT</pubDate>
    <dc:creator>Anotherone</dc:creator>
    <dc:date>2016-07-31T12:57:43Z</dc:date>
    <item>
      <title>I thought that excessive blank lines had been sorted</title>
      <link>https://community.plus.net/t5/Community-Site-Feedback/I-thought-that-excessive-blank-lines-had-been-sorted/m-p/1340821#M10263</link>
      <description>&lt;P&gt;&lt;a href="https://community.plus.net/t5/user/viewprofilepage/user-id/4"&gt;@jaread83﻿&lt;/a&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.plus.net/t5/General-Chat/H-D-T-V/m-p/1340819#M202879" target="_blank"&gt;https://community.plus.net/t5/General-Chat/H-D-T-V/m-p/1340819#M202879&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Is a quote of the post with the problem&lt;/P&gt;
&lt;P&gt;There are numerous lines with&lt;/P&gt;
&lt;PRE&gt;&amp;lt;p&amp;gt;&amp;amp;nbsp;&amp;lt;/p&amp;gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 07 Jun 2016 15:09:20 GMT</pubDate>
      <guid>https://community.plus.net/t5/Community-Site-Feedback/I-thought-that-excessive-blank-lines-had-been-sorted/m-p/1340821#M10263</guid>
      <dc:creator>Oldjim</dc:creator>
      <dc:date>2016-06-07T15:09:20Z</dc:date>
    </item>
    <item>
      <title>Re: I thought that excessive blank lines had been sorted</title>
      <link>https://community.plus.net/t5/Community-Site-Feedback/I-thought-that-excessive-blank-lines-had-been-sorted/m-p/1340833#M10266</link>
      <description>&lt;P&gt;I had a script that would remove all of these random blank paragraphs when rendering each post and they would still be visible when editting the post (I can't intercept them betweem posting and saving it in the system) but there was too much outcry over users having control over their own posts so I removed the script entirely. I guess some users feel the need to hit return twice when composing replies or leaving empty paragraphs at the end of their messages. That is fine by me and its down to the users how they wish to compose their messages.&lt;/P&gt;
&lt;P&gt;We were looking at removing the empty paragraphs at the end of each post but this was not possible to do so.&lt;/P&gt;</description>
      <pubDate>Tue, 07 Jun 2016 15:30:17 GMT</pubDate>
      <guid>https://community.plus.net/t5/Community-Site-Feedback/I-thought-that-excessive-blank-lines-had-been-sorted/m-p/1340833#M10266</guid>
      <dc:creator>jaread83</dc:creator>
      <dc:date>2016-06-07T15:30:17Z</dc:date>
    </item>
    <item>
      <title>Re: I thought that excessive blank lines had been sorted</title>
      <link>https://community.plus.net/t5/Community-Site-Feedback/I-thought-that-excessive-blank-lines-had-been-sorted/m-p/1340835#M10267</link>
      <description>&lt;P&gt;I'm not sure how the quoted user added all those blank lines. Resting on the return key? &lt;img class="lia-deferred-image lia-image-emoji" src="https://community.plus.net/html/@0FA1396AC0773F33E2DC472BB4F75D3C/images/emoticons/wink.gif" alt="Wink" title="Wink" /&gt; Just kidding. They could always edit their message if after posting it was not formatted correctly.&lt;/P&gt;
&lt;P&gt;Or I could put my script back in that removed all blank lines on the rendered message but this would still be displayed on the emails that get generated..&lt;/P&gt;</description>
      <pubDate>Tue, 07 Jun 2016 15:33:59 GMT</pubDate>
      <guid>https://community.plus.net/t5/Community-Site-Feedback/I-thought-that-excessive-blank-lines-had-been-sorted/m-p/1340835#M10267</guid>
      <dc:creator>jaread83</dc:creator>
      <dc:date>2016-06-07T15:33:59Z</dc:date>
    </item>
    <item>
      <title>Re: I thought that excessive blank lines had been sorted</title>
      <link>https://community.plus.net/t5/Community-Site-Feedback/I-thought-that-excessive-blank-lines-had-been-sorted/m-p/1340838#M10269</link>
      <description>&lt;P&gt;I have reported it to the mods for sorting&lt;/P&gt;</description>
      <pubDate>Tue, 07 Jun 2016 15:37:14 GMT</pubDate>
      <guid>https://community.plus.net/t5/Community-Site-Feedback/I-thought-that-excessive-blank-lines-had-been-sorted/m-p/1340838#M10269</guid>
      <dc:creator>Oldjim</dc:creator>
      <dc:date>2016-06-07T15:37:14Z</dc:date>
    </item>
    <item>
      <title>Re: I thought that excessive blank lines had been sorted</title>
      <link>https://community.plus.net/t5/Community-Site-Feedback/I-thought-that-excessive-blank-lines-had-been-sorted/m-p/1340857#M10275</link>
      <description>&lt;P&gt;Don't you dare put your script back &lt;img class="lia-deferred-image lia-image-emoji" src="https://community.plus.net/html/@8BBE3DF35B52AAD1B52BEBDC4974E1AD/images/emoticons/tongue.gif" alt="Tongue" title="Tongue" /&gt; Anyway, I thought Lithium were going to sort out the removal of blank lines &lt;U&gt;at the end of a post&lt;/U&gt; (no where else).&lt;/P&gt;</description>
      <pubDate>Tue, 07 Jun 2016 16:16:26 GMT</pubDate>
      <guid>https://community.plus.net/t5/Community-Site-Feedback/I-thought-that-excessive-blank-lines-had-been-sorted/m-p/1340857#M10275</guid>
      <dc:creator>Anotherone</dc:creator>
      <dc:date>2016-06-07T16:16:26Z</dc:date>
    </item>
    <item>
      <title>Re: I thought that excessive blank lines had been sorted</title>
      <link>https://community.plus.net/t5/Community-Site-Feedback/I-thought-that-excessive-blank-lines-had-been-sorted/m-p/1340864#M10279</link>
      <description>&lt;P&gt;No, that would be down me putting a script in to do that.&lt;/P&gt;
&lt;P&gt;I found it almost impossible to do consistently and its on my list of enhancements to look at in the future. It's much easier to go through an entire page of posts and remove dead paragraphs than it is to selectively select each post and systematically read the content, work out where the content ends and remove everything after that.&lt;/P&gt;
&lt;P&gt;It's on my list and I may need to get someone with advanced knowledge of jQuery to help me out on that when i get round to it (and I'm pretty good with jQuery!).&lt;/P&gt;</description>
      <pubDate>Tue, 07 Jun 2016 16:19:25 GMT</pubDate>
      <guid>https://community.plus.net/t5/Community-Site-Feedback/I-thought-that-excessive-blank-lines-had-been-sorted/m-p/1340864#M10279</guid>
      <dc:creator>jaread83</dc:creator>
      <dc:date>2016-06-07T16:19:25Z</dc:date>
    </item>
    <item>
      <title>Re: I thought that excessive blank lines had been sorted</title>
      <link>https://community.plus.net/t5/Community-Site-Feedback/I-thought-that-excessive-blank-lines-had-been-sorted/m-p/1340874#M10283</link>
      <description>&lt;P&gt;Nothing as simple as EOF and remove CR's before it then &lt;img class="lia-deferred-image lia-image-emoji" src="https://community.plus.net/html/@DD2C576E9659EC19DB321D3F15B5069C/images/emoticons/grin.gif" alt="Grin" title="Grin" /&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 07 Jun 2016 16:23:49 GMT</pubDate>
      <guid>https://community.plus.net/t5/Community-Site-Feedback/I-thought-that-excessive-blank-lines-had-been-sorted/m-p/1340874#M10283</guid>
      <dc:creator>Anotherone</dc:creator>
      <dc:date>2016-06-07T16:23:49Z</dc:date>
    </item>
    <item>
      <title>Re: I thought that excessive blank lines had been sorted</title>
      <link>https://community.plus.net/t5/Community-Site-Feedback/I-thought-that-excessive-blank-lines-had-been-sorted/m-p/1340881#M10288</link>
      <description>&lt;P&gt;thats going back to the days of visual basic with EOF (end of file) lol. If only things were that simple.&lt;/P&gt;</description>
      <pubDate>Tue, 07 Jun 2016 16:27:36 GMT</pubDate>
      <guid>https://community.plus.net/t5/Community-Site-Feedback/I-thought-that-excessive-blank-lines-had-been-sorted/m-p/1340881#M10288</guid>
      <dc:creator>jaread83</dc:creator>
      <dc:date>2016-06-07T16:27:36Z</dc:date>
    </item>
    <item>
      <title>Re: I thought that excessive blank lines had been sorted</title>
      <link>https://community.plus.net/t5/Community-Site-Feedback/I-thought-that-excessive-blank-lines-had-been-sorted/m-p/1340888#M10294</link>
      <description>&lt;P&gt;Or even further back, just plain old DOS.&lt;/P&gt;</description>
      <pubDate>Tue, 07 Jun 2016 16:33:49 GMT</pubDate>
      <guid>https://community.plus.net/t5/Community-Site-Feedback/I-thought-that-excessive-blank-lines-had-been-sorted/m-p/1340888#M10294</guid>
      <dc:creator>Anotherone</dc:creator>
      <dc:date>2016-06-07T16:33:49Z</dc:date>
    </item>
    <item>
      <title>Re: I thought that excessive blank lines had been sorted</title>
      <link>https://community.plus.net/t5/Community-Site-Feedback/I-thought-that-excessive-blank-lines-had-been-sorted/m-p/1341009#M10305</link>
      <description>This is already on my enhancement list so I will be looking into it in the future at some point. Just need to come up with a way to remove the space after the content rather than inbetween.</description>
      <pubDate>Wed, 08 Jun 2016 09:11:15 GMT</pubDate>
      <guid>https://community.plus.net/t5/Community-Site-Feedback/I-thought-that-excessive-blank-lines-had-been-sorted/m-p/1341009#M10305</guid>
      <dc:creator>jaread83</dc:creator>
      <dc:date>2016-06-08T09:11:15Z</dc:date>
    </item>
    <item>
      <title>Re: I thought that excessive blank lines had been sorted</title>
      <link>https://community.plus.net/t5/Community-Site-Feedback/I-thought-that-excessive-blank-lines-had-been-sorted/m-p/1341028#M10310</link>
      <description>&lt;P&gt;&lt;a href="https://community.plus.net/t5/user/viewprofilepage/user-id/4"&gt;@jaread83﻿&lt;/a&gt; - I know it's not really recommended for HTML but I don't think the document structure will be changing to often so I would be inclined to use a regular expression to do this.&lt;/P&gt;
&lt;P&gt;You said you'll be using jQuery so maybe something like this in a replace() :&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;$string = replace('/&amp;lt;p[^&amp;gt;]*&amp;gt;&amp;lt;\\/p[^&amp;gt;]*&amp;gt;/i', '', $string)&lt;/PRE&gt;
&lt;P&gt;This if from the top of the head so may not even work.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 08 Jun 2016 10:09:50 GMT</pubDate>
      <guid>https://community.plus.net/t5/Community-Site-Feedback/I-thought-that-excessive-blank-lines-had-been-sorted/m-p/1341028#M10310</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-06-08T10:09:50Z</dc:date>
    </item>
    <item>
      <title>Re: I thought that excessive blank lines had been sorted</title>
      <link>https://community.plus.net/t5/Community-Site-Feedback/I-thought-that-excessive-blank-lines-had-been-sorted/m-p/1341033#M10311</link>
      <description>&lt;P&gt;That would remove all of the empty paragraphs which was universally hated by the test users. What you have provided isn't too far off what I already wrote originally:&lt;/P&gt;
&lt;PRE&gt;    $('p').each(function() {
       var $this = $(this);
       if ($this.html().replace(/\s|&amp;amp;nbsp;/g, '').length == 0)
           $this.remove();
    });&lt;/PRE&gt;
&lt;P&gt;I had been trying to do it in a reverse order and jump from post to post to remove the end tags and this is what I got before giving up becuase it didn't work:&lt;/P&gt;
&lt;PRE&gt;    $(".lia-message-body-content").each(function(){
        // $($("p").reverse()).each(function() {
        $($("p").get().reverse()).each(function() {
            var $this = $(this);
            if ($this.html().replace(/\s|&amp;amp;nbsp;/g, '').length == 0){
            $this.remove();
            console.log('found a match');
            } else {
                 return false;
                 console.log('stop!');
            };
        });
    });&lt;/PRE&gt;
&lt;P&gt;So it's something I have certainly been trying to crack with little luck &lt;img class="lia-deferred-image lia-image-emoji" src="https://community.plus.net/html/@6BD5E1FD9194A889D807C8E641344CF1/images/emoticons/sad.gif" alt="Sad" title="Sad" /&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 08 Jun 2016 10:16:26 GMT</pubDate>
      <guid>https://community.plus.net/t5/Community-Site-Feedback/I-thought-that-excessive-blank-lines-had-been-sorted/m-p/1341033#M10311</guid>
      <dc:creator>jaread83</dc:creator>
      <dc:date>2016-06-08T10:16:26Z</dc:date>
    </item>
    <item>
      <title>Re: I thought that excessive blank lines had been sorted</title>
      <link>https://community.plus.net/t5/Community-Site-Feedback/I-thought-that-excessive-blank-lines-had-been-sorted/m-p/1341035#M10312</link>
      <description>&lt;P&gt;As an aside, any empty paragraphs left in posts are displayed like this:&lt;/P&gt;
&lt;PRE&gt;&amp;lt;p&amp;gt;&amp;amp;nbsp;&amp;lt;/p&amp;gt;&lt;/PRE&gt;
&lt;P&gt;And that makes it easier to target. The problem is that I need it to only remove the empty paragraphs at the end of a post and leave any in the middle of content as they are which complicates things. I had to concede to let users be sensible with their posts and let mods and admins deal with bad inputs.&lt;/P&gt;</description>
      <pubDate>Wed, 08 Jun 2016 10:19:39 GMT</pubDate>
      <guid>https://community.plus.net/t5/Community-Site-Feedback/I-thought-that-excessive-blank-lines-had-been-sorted/m-p/1341035#M10312</guid>
      <dc:creator>jaread83</dc:creator>
      <dc:date>2016-06-08T10:19:39Z</dc:date>
    </item>
    <item>
      <title>Re: I thought that excessive blank lines had been sorted</title>
      <link>https://community.plus.net/t5/Community-Site-Feedback/I-thought-that-excessive-blank-lines-had-been-sorted/m-p/1341048#M10313</link>
      <description>&lt;P&gt;&lt;a href="https://community.plus.net/t5/user/viewprofilepage/user-id/4"&gt;@jaread83﻿&lt;/a&gt; - OK I see that would annoy some, so what about removing anything greater than double lines?&lt;/P&gt;
&lt;PRE&gt;s/&amp;lt;p&amp;gt;&amp;amp;nbsp;&amp;lt;\/&amp;gt;{2,}/ /g&lt;/PRE&gt;
&lt;P&gt;And using this you then only need to do it on each .lia-message-body-content.&lt;/P&gt;</description>
      <pubDate>Wed, 08 Jun 2016 11:00:24 GMT</pubDate>
      <guid>https://community.plus.net/t5/Community-Site-Feedback/I-thought-that-excessive-blank-lines-had-been-sorted/m-p/1341048#M10313</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-06-08T11:00:24Z</dc:date>
    </item>
    <item>
      <title>Re: I thought that excessive blank lines had been sorted</title>
      <link>https://community.plus.net/t5/Community-Site-Feedback/I-thought-that-excessive-blank-lines-had-been-sorted/m-p/1341052#M10314</link>
      <description>&lt;P&gt;Problem with that is that some users like to use double spaces (annoying I know). Can't remove them if they were intentional. I need to find a way to only remove the empty paragraphs after the content body. Bit of a head scratcher &lt;img class="lia-deferred-image lia-image-emoji" src="https://community.plus.net/html/@0FA1396AC0773F33E2DC472BB4F75D3C/images/emoticons/wink.gif" alt="Wink" title="Wink" /&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 08 Jun 2016 11:03:06 GMT</pubDate>
      <guid>https://community.plus.net/t5/Community-Site-Feedback/I-thought-that-excessive-blank-lines-had-been-sorted/m-p/1341052#M10314</guid>
      <dc:creator>jaread83</dc:creator>
      <dc:date>2016-06-08T11:03:06Z</dc:date>
    </item>
    <item>
      <title>Re: I thought that excessive blank lines had been sorted</title>
      <link>https://community.plus.net/t5/Community-Site-Feedback/I-thought-that-excessive-blank-lines-had-been-sorted/m-p/1341060#M10315</link>
      <description>&lt;P&gt;&lt;a href="https://community.plus.net/t5/user/viewprofilepage/user-id/4"&gt;@jaread83﻿&lt;/a&gt; - OK one more thought, what about reverse iterating the &amp;lt;div&amp;gt; tag looking at each &amp;lt;p&amp;gt; element, if this element is 'empty' it can be removed provided it is the last element in the sub tree i.e. the next forward tag would be the &amp;lt;/div&amp;gt;, just a thought.&lt;/P&gt;</description>
      <pubDate>Wed, 08 Jun 2016 11:25:25 GMT</pubDate>
      <guid>https://community.plus.net/t5/Community-Site-Feedback/I-thought-that-excessive-blank-lines-had-been-sorted/m-p/1341060#M10315</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-06-08T11:25:25Z</dc:date>
    </item>
    <item>
      <title>Re: I thought that excessive blank lines had been sorted</title>
      <link>https://community.plus.net/t5/Community-Site-Feedback/I-thought-that-excessive-blank-lines-had-been-sorted/m-p/1341061#M10316</link>
      <description>&lt;P&gt;Thats what my second bit of code is attempting to do by using the 'reverse' order working up the DOM. You will see that for each post it is attempting to start at the end and go back looking for empty paragraph tags. Once it reaches something that doesn't match the regex it should return false and then move on to the next post.&lt;/P&gt;
&lt;P&gt;Unfortunately my code doesn't work so it needs something else.. I am just unsure what its failing on.&lt;/P&gt;</description>
      <pubDate>Wed, 08 Jun 2016 11:28:18 GMT</pubDate>
      <guid>https://community.plus.net/t5/Community-Site-Feedback/I-thought-that-excessive-blank-lines-had-been-sorted/m-p/1341061#M10316</guid>
      <dc:creator>jaread83</dc:creator>
      <dc:date>2016-06-08T11:28:18Z</dc:date>
    </item>
    <item>
      <title>Re: I thought that excessive blank lines had been sorted</title>
      <link>https://community.plus.net/t5/Community-Site-Feedback/I-thought-that-excessive-blank-lines-had-been-sorted/m-p/1341062#M10317</link>
      <description>&lt;P&gt;I have added comments to demonstrate what it 'should' do...&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;    // find each instance of the post message on a page&lt;BR /&gt;    $(".lia-message-body-content").each(function(){&lt;BR /&gt;        // now within the post message, collect the p tags in reverse order
        $($("p").get().reverse()).each(function() {&lt;BR /&gt;            // define context to the p tag
            var $this = $(this);&lt;BR /&gt;            // check if the pattern matches &amp;lt;p&amp;gt;&amp;amp;nbsp;&amp;lt;/p&amp;gt;
            if ($this.html().replace(/\s|&amp;amp;nbsp;/g, '').length == 0){&lt;BR /&gt;            // remove if matches..
            $this.remove();
            console.log('found a match');
            } else {&lt;BR /&gt;                 // don't do anything and stop the function if there is content
                 return false;
                 console.log('stop!');
            };
        });
    });&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 08 Jun 2016 11:32:32 GMT</pubDate>
      <guid>https://community.plus.net/t5/Community-Site-Feedback/I-thought-that-excessive-blank-lines-had-been-sorted/m-p/1341062#M10317</guid>
      <dc:creator>jaread83</dc:creator>
      <dc:date>2016-06-08T11:32:32Z</dc:date>
    </item>
    <item>
      <title>Re: I thought that excessive blank lines had been sorted</title>
      <link>https://community.plus.net/t5/Community-Site-Feedback/I-thought-that-excessive-blank-lines-had-been-sorted/m-p/1341085#M10318</link>
      <description>&lt;P&gt;&lt;a href="https://community.plus.net/t5/user/viewprofilepage/user-id/4"&gt;@jaread83﻿&lt;/a&gt; - Well this works for me.&lt;/P&gt;
&lt;PRE&gt;&amp;lt;html&amp;gt;
&amp;lt;head&amp;gt;
	&amp;lt;meta content="text/html;charset=utf-8" http-equiv="Content-Type"&amp;gt;
	&amp;lt;meta content="utf-8" http-equiv="encoding"&amp;gt;
	&amp;lt;title&amp;gt;Test&amp;lt;/title&amp;gt;
	&amp;lt;style&amp;gt;
		.lia-message-body-content { 
		background-color:red; 
		border:1px solid black ;
		font-size: 18px;
		}
	&amp;lt;/style&amp;gt;
	&amp;lt;script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.4/jquery.min.js"&amp;gt;
	&amp;lt;/script&amp;gt;
	&amp;lt;script&amp;gt;
	$(document).ready(function() {
		$(".lia-message-body-content").each(function() {
        	$($("p").get().reverse()).each(function() {
            	var $this = $(this);
            	if ($this.html().replace(/\s|&amp;amp;nbsp;/g, '').length == 0) {
           			$this.remove();
            	} 
            	else {
          	  		return false;
            	}
        	});
    	});
	});
	&amp;lt;/script&amp;gt;
&amp;lt;/head&amp;gt;
&amp;lt;body&amp;gt;
	&amp;lt;div class="lia-message-body-content"&amp;gt;
		&amp;lt;p&amp;gt;Blah&amp;lt;/p&amp;gt;
		&amp;lt;p&amp;gt;&amp;amp;nbsp;&amp;lt;/p&amp;gt;
		&amp;lt;p&amp;gt;&amp;amp;nbsp;&amp;lt;/p&amp;gt;
		&amp;lt;p&amp;gt;Another Paragraph I want to keep&amp;lt;/p&amp;gt;
		&amp;lt;p&amp;gt;&amp;amp;nbsp;&amp;lt;/p&amp;gt;
		&amp;lt;p&amp;gt;&amp;amp;nbsp;&amp;lt;/p&amp;gt;
		&amp;lt;p&amp;gt;&amp;amp;nbsp;&amp;lt;/p&amp;gt;
		&amp;lt;p&amp;gt;&amp;amp;nbsp;&amp;lt;/p&amp;gt;
		&amp;lt;p&amp;gt;&amp;amp;nbsp;&amp;lt;/p&amp;gt;
		&amp;lt;p&amp;gt;&amp;amp;nbsp;&amp;lt;/p&amp;gt;
	&amp;lt;/div&amp;gt;
&amp;lt;/body&amp;gt;
&amp;lt;/html&amp;gt;&lt;/PRE&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="With clean up"&gt;&lt;img src="https://community.plus.net/skins/images/A0C0974F08C2F141307C5AA348823F1B/responsive_peak/images/image_not_found.png" alt="With clean up" /&gt;&lt;/span&gt;﻿&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Without clean up"&gt;&lt;img src="https://community.plus.net/skins/images/A0C0974F08C2F141307C5AA348823F1B/responsive_peak/images/image_not_found.png" alt="Without clean up" /&gt;&lt;/span&gt;﻿&lt;/P&gt;
&lt;P&gt;So as to why is doesn't work for you then, I don't know But you might want to fix the return false statement and put it after the console.log('stop') as that is unreachable.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 08 Jun 2016 12:34:03 GMT</pubDate>
      <guid>https://community.plus.net/t5/Community-Site-Feedback/I-thought-that-excessive-blank-lines-had-been-sorted/m-p/1341085#M10318</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-06-08T12:34:03Z</dc:date>
    </item>
    <item>
      <title>Re: I thought that excessive blank lines had been sorted</title>
      <link>https://community.plus.net/t5/Community-Site-Feedback/I-thought-that-excessive-blank-lines-had-been-sorted/m-p/1341090#M10319</link>
      <description>&lt;P&gt;I will give this a try out on staging and see what happens. Cheers for sparing a bit of your time to help out with this.&lt;/P&gt;</description>
      <pubDate>Wed, 08 Jun 2016 12:42:52 GMT</pubDate>
      <guid>https://community.plus.net/t5/Community-Site-Feedback/I-thought-that-excessive-blank-lines-had-been-sorted/m-p/1341090#M10319</guid>
      <dc:creator>jaread83</dc:creator>
      <dc:date>2016-06-08T12:42:52Z</dc:date>
    </item>
  </channel>
</rss>

