Main Stories
Slash Boxes

Slash Open Source Project

Slashcode Log In

Log In

[ Create a new account ]

Article Poll

Poll I found this article to be
Very Helpful
Helpful
Not Helpful
Not Very Helpful
[ Results | Polls ]
Comments:0 | Votes:0

Problem hrefs in Releated Links Block

posted by Krow on 08:19 AM June 15th, 2001   Printer-friendly   Email story
Tony: tiexp@hotmail.com writes "I'm pushing slashcode in a direction past what it was designed to do. My site puts more graphics and html in individual stories than is typical with slash sites. The problem I'm having:

Graphic buttons in my stories (a src tag within a href tag) work normally, but when the 'related links' code lists all of the hrefs in my story, it breaks the img src tag's url by arbitrarilly adding a html space. So, the correct image tag within the story (Using square brackets to simplify posting):

[a href="http://tiexp.com/link.html"][img src="http://tiexp.com/graphic.html"][/a]

Works fine within the story; however, the slashcode picks up the href tag and mangles it into the following for "related links":

[a href="http://tiexp.com/link.html"][img src="http://tiexp.com/gra %20 phic.html"][/a]

This of course, makes the graphic not display(!) Is there a way to either exempt graphic hrefs from related links, or prevent slashcode from adding the %20 html space in the url?

You can see what's happening at tiexp.com The Treasure Island Experiment. Thanks for any suggestions!"
This discussion has been archived. No new comments can be posted.
The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
 Full
 Abbreviated
 Hidden
More | Login
Loading... please wait.
  • by Anonymous Coward
    [img src="http://tiexp.com/gra %20 phic.html"]

    Now exactly what image type has the extension .html?

    -Svefg cbfg