pxt-core 13.0.4 → 13.0.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1052,7 +1052,7 @@ ${opts.repo.name.replace(/^pxt-/, '')}=github:${opts.repo.fullName}#${opts.repo.
1052
1052
  \`\`\`
1053
1053
  `;
1054
1054
  //Uses the CmdLink definitions to replace links to YouTube and Vimeo (limited at the moment)
1055
- markdown = markdown.replace(/^\s*https?:\/\/(\S+)\s*$/mg, (f, lnk) => {
1055
+ markdown = markdown.replace(/^[ \t]*https?:\/\/(\S+)[ \t]*\r?$/mg, (f, lnk) => {
1056
1056
  for (let ent of links) {
1057
1057
  let m = ent.rx.exec(lnk);
1058
1058
  if (m) {
package/built/pxt.js CHANGED
@@ -107363,7 +107363,7 @@ ${opts.repo.name.replace(/^pxt-/, '')}=github:${opts.repo.fullName}#${opts.repo.
107363
107363
  \`\`\`
107364
107364
  `;
107365
107365
  //Uses the CmdLink definitions to replace links to YouTube and Vimeo (limited at the moment)
107366
- markdown = markdown.replace(/^\s*https?:\/\/(\S+)\s*$/mg, (f, lnk) => {
107366
+ markdown = markdown.replace(/^[ \t]*https?:\/\/(\S+)[ \t]*\r?$/mg, (f, lnk) => {
107367
107367
  for (let ent of links) {
107368
107368
  let m = ent.rx.exec(lnk);
107369
107369
  if (m) {
package/built/pxtlib.js CHANGED
@@ -9642,7 +9642,7 @@ ${opts.repo.name.replace(/^pxt-/, '')}=github:${opts.repo.fullName}#${opts.repo.
9642
9642
  \`\`\`
9643
9643
  `;
9644
9644
  //Uses the CmdLink definitions to replace links to YouTube and Vimeo (limited at the moment)
9645
- markdown = markdown.replace(/^\s*https?:\/\/(\S+)\s*$/mg, (f, lnk) => {
9645
+ markdown = markdown.replace(/^[ \t]*https?:\/\/(\S+)[ \t]*\r?$/mg, (f, lnk) => {
9646
9646
  for (let ent of links) {
9647
9647
  let m = ent.rx.exec(lnk);
9648
9648
  if (m) {