Replace spaces with "%20" in "urlPrefix", before markdon processing. The spaces were causing blackfriday (markdown processor) to behave strange. This fixes #2545.