Browse Source

feat: open external link in new tab (#1453)

pull/1528/head
Lukáš Hrdlička 4 years ago
committed by GitHub
parent
commit
fc79d92423
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions
  1. 1
      server/modules/rendering/html-core/renderer.js

1
server/modules/rendering/html-core/renderer.js

@ -113,6 +113,7 @@ module.exports = {
}
} else {
$(elm).addClass(`is-external-link`)
$(elm).attr('target', '_blank')
}
// -> Update element

Loading…
Cancel
Save