diff --git a/package.json b/package.json index 28267c1bfa97..fb46bbd6d104 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "pxt-core", - "version": "11.2.20", + "version": "11.2.21", "description": "Microsoft MakeCode provides Blocks / JavaScript / Python tools and editors", "keywords": [ "TypeScript", diff --git a/webapp/public/multi.html b/webapp/public/multi.html index bbe86044d2a8..b440b4617d86 100644 --- a/webapp/public/multi.html +++ b/webapp/public/multi.html @@ -71,7 +71,12 @@ var hashLeft = "" var hashRight = "" var route = (window.location.hash || "#"); + // Split using :|: as well as :%7C: var parts = route.replace(/^#/, '').split(':|:', 2); + if (parts.length == 1) { + //As some link out conver :|: to :%7C: + parts = route.replace(/^#/, '').split(':%7C:', 2); + } updateSrc(left, parts[0]); updateSrc(right, parts[1]); window.history.replaceState('', '', '#')