Add download functionality to search module

Space missing to the left of {.<br>Space between { and | missing.<br>Space missing inside }.