target="_blank

A meeting area where members can relax, chill out and talk about anything non magical.


Moderators: nickj, Lady of Mystery, Mandrake, bananafish, support

target="_blank

Postby Tomo » Apr 16th, '12, 12:26



What's with the trailing target="_blank after every link?

Image
User avatar
Tomo
Veteran Member
 
Posts: 9866
Joined: May 4th, '05, 23:46
Location: Darkest Cheshire (forty-bloody-six going on six)

Re: target="_blank

Postby Discombobulator » Apr 16th, '12, 14:16

It looks like some code dropout, as if the " prematurely ends a string.

¿ sɹoɹɹıɯ ʎq ǝuop ןןɐ sʇı
"who? no I dont know him", Derren Brown
"no idea who he is !", Kenton Knepper
"Is he a magician ?", Penn&Teller
Discombobulator
Senior Member
 
Posts: 678
Joined: Nov 15th, '05, 00:30
Location: Newcastle (58:AH)

Re: target="_blank

Postby Mandrake » Apr 16th, '12, 18:39

It's a glitch of some kind and happens every time you preview or re-do a bit of a post - a new one appears for each time! If you delete the target-blanks as the same time as editing then it'll look fine. Shouldn't have to do it of course but at least it keeps the posts reasonably smooth. I confess I've very often edited people's posts when there are long strings of them. Something to add to the maintenance list :wink: !

User avatar
Mandrake
'
 
Posts: 27494
Joined: Apr 20th, '03, 21:00
Location: UK (74:AH)

Re: target="_blank

Postby Vanderbelt » Apr 16th, '12, 18:57

By default, phpBB opens links in the same tab/window, the powers that be here have decided (wisely imho) to have them open in a new tab/window. "target=blank" is an attribute added to a link in html to make it do so. What's happened with us is that a tiny syntax error has crept in when that change was made to the forum's coding and as a result it displays that additional html attribute.

It's harmless.

User avatar
Vanderbelt
Senior Member
 
Posts: 689
Joined: Jul 16th, '10, 08:13

Re: target="_blank

Postby Mandrake » Apr 16th, '12, 23:24

Wot he said... :D

User avatar
Mandrake
'
 
Posts: 27494
Joined: Apr 20th, '03, 21:00
Location: UK (74:AH)

Re: target="_blank

Postby DJBenz » Apr 16th, '12, 23:32

Also, if you use the URL tags it doesn't appear, hence:

Code: Select all
http://www.google.com


gives:

http://www.google.com" target="_blank

but

Code: Select all
[url]http://www.google.com[/url]


gives:

http://www.google.com

User avatar
DJBenz
Preferred Member
 
Posts: 202
Joined: Aug 15th, '11, 19:23
Location: Redditch (40:EN)


Return to The Dove's Head

Who is online

Users browsing this forum: No registered users and 59 guests