avoiding the split in "javascript"

mmi's picture

They have: 457 posts

Joined: Jan 2001

just wanted to let you guys know that over in the City on the Hill, our Lord Pollock has come up with a workaround to avoid the split in "javascript" when it appears in a function - there's even a temp solution we used for a while, but I guess you won't need that


Web Xpertz Community Forums for Webmasters & Developers

Where You Can Learn, Advise, and Have Fun in the Process

John Pollock's picture

He has: 628 posts

Joined: Mar 1999

In the file admin/functions.php3, around line 399:

Change:

"java script:",

to:

"javascript:",

or add any other type of code to it. That should keep out js links, but allow it to post correctly in code examples. Smiling

Hey mmi. Smiling Eye bett u woan't lyke hou eye wroat thiss sentense! Wink

mmi's picture

They have: 457 posts

Joined: Jan 2001

Tis a countenance whose spell
Sheds a balm o'er every mead and dell

btw, watch out fer the :bunny: - that rabbit's a real killa!

Mark Hensler's picture

He has: 4,048 posts

Joined: Aug 2000

I modified admin/functions.php this way:

          //"java script:",
          "javascript:",
'Thanks for the heads up.

Mark Hensler
If there is no answer on Google, then there is no question.

Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.