mirror of
https://github.com/sudoxnym/habitica-self-host.git
synced 2026-08-01 19:50:37 +00:00
Merge pull request #351 from spacetime/develop
Added space before "target=" when added to href
This commit is contained in:
commit
44aa1209cd
1 changed files with 3 additions and 3 deletions
|
|
@ -98,7 +98,7 @@
|
|||
|
||||
html = html.replace(userHighlight, "<u>@"+userName+"</u>");
|
||||
|
||||
html = html.replace(' href','target="'+linktarget+'" href');
|
||||
html = html.replace(' href',' target="'+linktarget+'" href');
|
||||
element.html(html);
|
||||
});
|
||||
}
|
||||
|
|
@ -109,7 +109,7 @@
|
|||
return function(input){
|
||||
var html = md.toHtml(input);
|
||||
|
||||
html = html.replace(' href','target="_self" href');
|
||||
html = html.replace(' href',' target="_self" href');
|
||||
|
||||
return html;
|
||||
};
|
||||
|
|
@ -125,4 +125,4 @@ habitrpg.directive('questRewards', ['$rootScope', function($rootScope){
|
|||
scope.quest = $rootScope.Content.quests[attrs.key];
|
||||
}
|
||||
}
|
||||
}]);
|
||||
}]);
|
||||
|
|
|
|||
Loading…
Reference in a new issue