Login or Sign Up
 
 
 
 
 
 
 
 
 
 
 
 
 
Global Forums > Site improvement ideas & Bug reports > Auto-generated links do not work (and how to fix them)
 
Only members can see photos
Only members can see names and photos
Auto-generated links do not work (and how to fix them)

A string that begins by "http://" or "https://" in a post is automatically transformed into a link. However, this link leads nowhere. Example: https://www.glocals.com


This is the HTML generated:


<a target="_new">https://www.glocals.com</a>


It should be fixed in this way:


<a target="_new" target="_blank" href="https://www.glocals.com">https://www.glocals.com</a>


 




The text you are quoting:

A string that begins by "http://" or "https://" in a post is automatically transformed into a link. However, this link leads nowhere. Example: https://www.glocals.com


This is the HTML generated:


<a target="_new">https://www.glocals.com</a>


It should be fixed in this way:


<a target="_new" target="_blank" href="https://www.glocals.com">https://www.glocals.com</a>


 





TheOmegaManApr 4, 2021 @ 15:31
Your Reply:
Reply  Reply With Quote  Thank Poster
! Report to Admin
 
2 Replies | 180 Views      |  Send to friend
 
Only members can see photos
Only members can see names and photos
Re: Auto-generated links do not work (and how to fix them)
Post 1

Hmmm, the links got messed up. Otherwise said:


The a HTML tag lacks a target="_blank" href="" to tell the link where to go, so it should be added. 

The text you are quoting:

Hmmm, the links got messed up. Otherwise said:


The a HTML tag lacks a target="_blank" href="" to tell the link where to go, so it should be added. 


TheOmegaMan, Apr 4, 2021 @ 15:35
Your Reply:
Reply  Reply With Quote  Thank Poster
! Report to Admin
Only members can see photos
Only members can see names and photos
Re: Auto-generated links do not work (and how to fix them)
Post 2

Please ignore any target=_blank strings in the above posts, these were added automatically by the Glocals site and were not in what I wrote.

The text you are quoting:

Please ignore any target=_blank strings in the above posts, these were added automatically by the Glocals site and were not in what I wrote.


TheOmegaMan, Apr 4, 2021 @ 16:35
Your Reply:
Reply  Reply With Quote  Thank Poster
! Report to Admin
2 Replies | 180 Views      |  Send to friend
 
 
 
Feedback Form