add links
This commit is contained in:
parent
3f7c5ed078
commit
12a5455f84
1 changed files with 1 additions and 0 deletions
|
@ -113,6 +113,7 @@
|
|||
.replaceAll('["\n', '<pre>').replaceAll('\n"]', '</pre>')
|
||||
.replaceAll('["" \n', '<pre>').replaceAll('\n ""]', '</pre>')
|
||||
.replaceAll('\n', '<br/>')
|
||||
.replaceAll(/(https?:\/\/[^ \n]+)/g, '<a href="$1" target="blank">$1</a>')
|
||||
if (postid != -1 || id == '') {
|
||||
if(makeForm) {
|
||||
if(postid != -1)
|
||||
|
|
Loading…
Add table
Reference in a new issue