VE-1069: Format urls to Parsoid in the same way they are formatted in VE
Merge pull request #3622 from Wikia/VE-1069

VE-1069