update showndown to 1.9.1

this has openLinksInNewWindow which is smart enough that internal links
open in same tab and external links open in new tab
This commit is contained in:
Girish Ramakrishnan
2020-08-08 21:58:12 -07:00
parent f6f5ae8578
commit 08f116486a
15 changed files with 18 additions and 37 deletions

View File

@@ -89,10 +89,10 @@ angular.module('Application').filter('prettyDiskSize', function () {
angular.module('Application').filter('markdown2html', function () {
var converter = new showdown.Converter({
extensions: [ 'targetblank' ],
simplifiedAutoLink: true,
strikethrough: true,
tables: true
tables: true,
openLinksInNewWindow: true
});
// without this cache, the code runs into some infinite loop (https://github.com/angular/angular.js/issues/3980)