Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

support 'https' auto-linking

commit 128decf07e7c6aa5e233767143c256584e7be162 1 parent 77ec37b
cloudhead authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  pub/js/thingler.js
2  pub/js/thingler.js
View
@@ -481,7 +481,7 @@ function markup(str) {
return '<em>' + match.replace(/\\_/g, '_') + '</em>';
}).replace(/`((?:\\`|[^`])+)`/g, function (_, match) {
return '<code>' + match.replace(/\\`/g, '`') + '</code>';
- }).replace(/(http:\/\/[^\s]+)/g, '<a href="$1" target="_blank">$1</a>');
+ }).replace(/(https?:\/\/[^\s]+)/g, '<a href="$1" target="_blank">$1</a>');
}
function handleSort(id, to) {
Please sign in to comment.
Something went wrong with that request. Please try again.