Merge pull request #396 from Luis-Fernando-Molina/develop

Contribution: Bug Fixed, Tutorials External Links withtout protocol
This commit is contained in:
Luis Fernando Molina authored and GitHub committed 2021-01-18 09:38:42 +01:00
commit c60036f5a1
1 file changed
+1 -1
@@ -1373,7 +1373,7 @@ function newSuperalgosTutorialSpace() {
case 'Link': {
let text = UI.projects.superalgos.utilities.docs.getTextBasedOnLanguage(paragraph)
let splittedText = text.split('->')
html = html + '<a class="tutorial-font-small tutorial-external-link" href="' + splittedText[1] + '" target="_blank">' + splittedText[0] + '</a>'
html = html + '<a class="tutorial-font-small tutorial-external-link" href="' + 'https://' + splittedText[1] + '" target="_blank">' + splittedText[0] + '</a>'
break
}
case 'Note': {