Handle case with escaped # at end of ATX header.