[BUGFIX] Encode link parameters for preview script to make sure semi-col...

...on gets passed. This allows "Save and View" to work when inside workspaces.