spoiler bug

Get the scoop on the changes happening here at CAA. You may also suggest changes or additions to the site and provide feedback about the board.

spoiler bug

Postby Mithrandir » Sat Oct 18, 2003 9:47 am

Hey DJ (or whoever),
The spoiler tag doesn't work if you have an apostrophe (') in the pop-up text. It's a javascript problem. When you submit something with an odd number of apostrophies it will simply not pop-up.

I noticed, however that if you use a backtick (`) character it will work just fine. Think you can edit the pop-up script code to do a simple transliteration (substitution of the back-tick for any apostrophies)?

oldphil
User avatar
Mithrandir
 
Posts: 11071
Joined: Fri Jun 27, 2003 12:00 pm
Location: You will be baked. And then there will be cake.

Postby Straylight » Sat Oct 18, 2003 9:51 am

It'd need quite a bit of tweaking - the tags are made by entering html and variable names into a vB control panel, instead of modifying the parser script. I might take a look later though. (ie. hard code spoiler tags into the parser). I wonder whether /' would work
[align=center]
Image
Banner above created using my avatar generator tool.
You know you want try it.
User avatar
Straylight
 
Posts: 2346
Joined: Mon May 26, 2003 12:00 pm
Location: Manchester, UK

Postby Mithrandir » Sat Oct 18, 2003 10:24 am

Yeah, that's tricky. The real problem is that you have to give straight text to the pop-up window. No & #039; stuff will work.
*sigh*
As for escaping it, my guess is you would need to backslash it: \'
User avatar
Mithrandir
 
Posts: 11071
Joined: Fri Jun 27, 2003 12:00 pm
Location: You will be baked. And then there will be cake.

Postby inkhana » Sat Oct 18, 2003 12:18 pm

Well, that explains why mine never worked...-_- I thought I was braindead or something.


BOOSTER: Hey, No.1! Where's my cake?!
SNIFIT 1: Booster, Sir! There's a 70% chance the object you're standing on is a cake.
BOOSTER: What? THIS thing's a cake?

You have the power to say anything you want, so why not say something positive?
- Frank Capra

(in response to an interview question "Do you have a pet peeve having to do with this biz?")
People who write below their abilities in order to crank out tons of books and make a buck. Especially Christian authors who do that. Outsiders judge us for it, and make fun of us for it, and it makes Jesus look bad. We of all artists on earth should be the most concerned with doing our best possible work at all times. We of all people should write with all our hearts, as if writing for the Lord and not for men.
- Athol Dickson


Avatar by scarlethibiscus from LJ.
User avatar
inkhana
 
Posts: 3670
Joined: Fri May 30, 2003 10:00 am
Location: meh.


Return to Announcements and Feedback

Who is online

Users browsing this forum: No registered users and 215 guests