For each empty line, insert <br> before sending it to pandoc