Help for this page
s/(?=\s)\s*?(?:(\n\n)|(?=\S))/$1||" "/eg;
s/ (?=\s) # Be sure we will match some whitespace ... / $1 || " " # Either the blank line or a space. /egx;