Don't allow URLs to end in a //
Fix empty markup