Regex fix to not leave blank lines
Make sure that we don't edit an archive page unless we actually have something to add