mirror of
https://github.com/PrivateBin/PrivateBin.git
synced 2025-10-03 09:49:14 +02:00
Enable auto-linking in Markdown
This get's feature-completition to plain-text auto-linking. Fixes https://github.com/PrivateBin/PrivateBin/issues/336
This commit is contained in:
parent
8386141322
commit
c1ab1dd8c5
3 changed files with 5 additions and 3 deletions
|
@ -1773,7 +1773,9 @@ jQuery.PrivateBin = (function($, sjcl, Base64, RawDeflate) {
|
|||
var converter = new showdown.Converter({
|
||||
strikethrough: true,
|
||||
tables: true,
|
||||
tablesHeaderId: true
|
||||
tablesHeaderId: true,
|
||||
simplifiedAutoLink: true,
|
||||
excludeTrailingPunctuationFromURLs: true
|
||||
});
|
||||
// let showdown convert the HTML and sanitize HTML *afterwards*!
|
||||
$plainText.html(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue