Bug Fixed, Tutorials External Links withtout protocol
This commit is contained in:
1 parent
a5d2f3941a
commit
ef394fdbb5
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': {
|
||||
|
||||
Reference in new issue
Block a user