Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Community > Feedback > New linking bug

New linking bug
Thread Tools
brassplayersrock²
Addicted to MacNN
Join Date: Mar 2006
Location: California
Status: Offline
Reply With Quote
Aug 10, 2011, 06:25 PM
 
As seen in this thread. http://forums.macnn.com/89/macnn-lou...te-ted-videos/

Is it the forum not rendering the characters correctly, and putting in gibberish?
     
Thorzdad
Moderator
Join Date: Aug 2001
Location: Nobletucky
Status: Offline
Reply With Quote
Aug 10, 2011, 06:38 PM
 
Hmmm...html entities? That's a weird one. Luckily, it's just the display that's buggered. The actual link is intact and works.
     
besson3c
Clinically Insane
Join Date: Mar 2001
Location: yes
Status: Offline
Reply With Quote
Aug 10, 2011, 07:02 PM
 
My guess is vBulletin is sanitizing text that has already been sanitized via htmlspecialchars() or the like.
     
brassplayersrock²  (op)
Addicted to MacNN
Join Date: Mar 2006
Location: California
Status: Offline
Reply With Quote
Aug 10, 2011, 07:07 PM
 
Perhaps the amp hack to make the & work correctly is bugging something else that needs a hack to work correctly?
     
P
Moderator
Join Date: Apr 2000
Location: Gothenburg, Sweden
Status: Offline
Reply With Quote
Aug 11, 2011, 05:23 AM
 
It could be that. I looked in to a few days ago. What happens is that Youtube puts formatting characters in the form of HTML entities into the <title> tag in head, for some reason. When you just paste a link without adding an anchor, a script will pull the contents of <title> and make that the anchor. These entities are not parsed at all in the forum, and show up as you see them.

What I think might be happening is that the ampersand bug strikes first, turning the & into "& amp ;" (without the spacebars) so the entire entity becomes "& amp ; #x202a;" This is obviously not parsed, and when our hack steps in to correct the ampersand bug, the moment has passed.

Let me see if we can hack that away manually. I'll bring it up.
The new Mac Pro has up to 30 MB of cache inside the processor itself. That's more than the HD in my first Mac. Somehow I'm still running out of space.
     
P
Moderator
Join Date: Apr 2000
Location: Gothenburg, Sweden
Status: Offline
Reply With Quote
Aug 12, 2011, 06:43 PM
 
Reader did some more hacking, and Youtube titles look good again.
The new Mac Pro has up to 30 MB of cache inside the processor itself. That's more than the HD in my first Mac. Somehow I'm still running out of space.
     
brassplayersrock²  (op)
Addicted to MacNN
Join Date: Mar 2006
Location: California
Status: Offline
Reply With Quote
Aug 13, 2011, 12:17 AM
 
Test MacNN.com -- iPod nano camera demo - YouTube

sweet! Thanks reader and P!
     
   
Thread Tools
 
Forum Links
Forum Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Top
Privacy Policy
All times are GMT -4. The time now is 07:58 AM.
All contents of these forums © 1995-2017 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.8 © 2000-2017, Jelsoft Enterprises Ltd.,